Sign in to follow this  
Followers 0
bqp2

Same Sequence shortcut

4 posts in this topic

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?

Share this post


Link to post
Share on other sites



Yes U can.

For $i = 1 to however many times

Do all $text and more

Next


Share this post


Link to post
Share on other sites

You can use too :

While 1

; script...

WEnd

or

Do

; script...

Until ...

For more details See the helpfile for this functions Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0