bqp2 Posted November 17, 2010 Share Posted November 17, 2010 making a script and it calls for the same lines alot is this possable $text = -run dos whatever Run(c:\IE) sleep(5000) -run whatever Sleep whatever end then when ever i need to use that type $Text to save alot of typing? Link to comment Share on other sites More sharing options...
JoHanatCent Posted November 17, 2010 Share Posted November 17, 2010 Yes U can. For $i = 1 to however many times Do all $text and more Next Link to comment Share on other sites More sharing options...
wakillon Posted November 17, 2010 Share Posted November 17, 2010 You can use too :While 1 ; script...WEndorDo ; script...Until ...For more details See the helpfile for this functions AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
bqp2 Posted November 17, 2010 Author Share Posted November 17, 2010 no i meant example Test same 1 Text same 2 Text Different a Test same 1 Text same 2 Text Different b Test same 1 Text same 2 Text Different c the first 5 or 6 not sure lines are same every time but the commands under is different everytime im wanting to store the same text then just call them before each step instead of tyoing the same 5 to 6 lines before every step Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now