SaHiN 14 Posted December 12, 2012 Report Share Posted December 12, 2012 Hi,how to make add line Text ? Thank you. ui save file("Save to File", #save) define a { thread { in new browser { navigate("google.com", "Wait") wait(5) save to file("{#save}.txt", $url) wait(5) close page } } } define b { thread { in new browser { navigate("yandex.com", "Wait") wait(5) save to file("{#save}.txt", $url) wait(5) close page } } } define d { thread { in new browser { navigate("bing.com", "Wait") wait(5) save to file("{#save}.txt", $url) wait(5) close page } } } a() b() d() Quote Link to post Share on other sites
AutomationNinja 194 Posted December 13, 2012 Report Share Posted December 13, 2012 do you mean add a line after you type text? Under text functions:$new line 1 Quote Link to post Share on other sites
SaHiN 14 Posted December 13, 2012 Author Report Share Posted December 13, 2012 do you mean add a line after you type text? Under text functions:$new line yes, Sample code? thank you. Quote Link to post Share on other sites
Mr. Freeweed 2 Posted December 13, 2012 Report Share Posted December 13, 2012 Just add the #newline after what you append. I believe if you save file instead of append it will erase what was in it =) append to file("uids.txt", "{$find regular expression($scrape attribute(<id="content-single">, "innerhtml"), "(?<=uid=).*(?=&pid=)")}:{#namebegin}{#actnum}{#nameend}{$new line}", "End") http://i50.tinypic.com/vq5bpd.png 1 Quote Link to post Share on other sites
SaHiN 14 Posted December 13, 2012 Author Report Share Posted December 13, 2012 thank you Mr. Freeweed +1 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.