skanck 2 Posted September 22, 2011 Report Share Posted September 22, 2011 if($both($not($contains(#variable, "some text"), ($both($not($contains(#variable, "some other text"))))) } then { do something ---- if($comparison(#variable, "!=", $nothing)) { then { do something ---- loop while($not($search page("whatever"))) {wait(1) }--- Quote Link to post Share on other sites
skanck 2 Posted September 22, 2011 Author Report Share Posted September 22, 2011 click(<value=w"{#variable}">, "Left Click", "No")---wildcard if existsif $exists(<innertext=w"Article">)----- download filesStart the download, and then use the "$get files" function to check whether the file exists in your download directory --- multiple threads: ui drop down("Threads", "1,2,3,4,5,6,7,8,9,10", #threads)loop(#threads) {thread {in new browser {navigate("http://www.bing.com", "Wait")}}wait(2)} --- Quote Link to post Share on other sites
skanck 2 Posted September 22, 2011 Author Report Share Posted September 22, 2011 thread commandthread { in new browser { navigate("http://google.com", "Wait") wait(10) }}thread { in new browser { navigate("http://bing.com", "Wait") wait(10) }}thread { in new browser { navigate("http://yahoo.com", "Wait") wait(10) }} Quote Link to post Share on other sites
skanck 2 Posted September 22, 2011 Author Report Share Posted September 22, 2011 page scrape specified content separated with pipe dl navigate("http://theurlyouwant.com/page.html", "Wait")wait for element(<id="something">, "", "Appear")save to file("{$special folder("Desktop")}/pagescraped.txt", "{$url}|{$meta description}|{$title}") Quote Link to post Share on other sites
osx 0 Posted September 22, 2011 Report Share Posted September 22, 2011 What are these? Are they php scripts? Quote Link to post Share on other sites
shadow 0 Posted September 22, 2011 Report Share Posted September 22, 2011 Thanks so much . Quote Link to post Share on other sites
Praney Behl 314 Posted September 22, 2011 Report Share Posted September 22, 2011 didn't really get if you are trying to ask something or tell something Quote Link to post Share on other sites
skanck 2 Posted September 26, 2011 Author Report Share Posted September 26, 2011 loop through a table, at column position #0, for the total number of rows in the table and increment 1 row at a time loop($table total rows(&yourtable)) { navigate("$table cell(&yourtable, #rownumbervariable, 0)", "Wait") increment(#rownumbervariable) } ui checkboxui check box("go to google", #go to google) if(#go to google) { then { navigate("google.com", "Wait") } else { navigate("yahoo.com", "Wait") } } Quote Link to post Share on other sites
skanck 2 Posted September 27, 2011 Author Report Share Posted September 27, 2011 spin text loop(5) { set(#googsearch, $spin("\{Make money|Create income|Become rich|3 dogs and a fish|a bowl of porridge oats|wet Wednesday|Millionaires online\}"), "Global") navigate("google.com", "Wait") type text(<name="q">, #googsearch, "Standard") wait(3) } Quote Link to post Share on other sites
sales 1 Posted October 15, 2011 Report Share Posted October 15, 2011 Thanks for these samples! It helps me TRY to figure out how to use this program. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.