Jump to content
Sign in to follow this  
metalstorm

Same script for different clients

Recommended Posts

metalstorm

Is it possible (if so how) to run the same script (or the same script with a different name) for 2 clients with the same .exe and window title name that are running at the same time... i know that prob sounded all messy, but heres a kinda basic 'picture'

Script 1 -------> name.exe

Script 2 -------> name.exe

i was thinking would it be possible to set the active window based on the file .exe then just have:

Winactive( "name1.exe" )

Sleep (5000) ;To give time for it to wish to the program

..... code

Winactive( "name2.exe" )

Sleep (5000)

..... code

i hope that made sence ;)

Share this post


Link to post
Share on other sites
metalstorm

bump - need an answer quick :S

Share this post


Link to post
Share on other sites
metalstorm

wish = switch

;)

Share this post


Link to post
Share on other sites
SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
metalstorm

...cant try it if i dont know what its called (to search for it) or write some code if i dont have any clue to begin with

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  

×