Sign in to follow this  
Followers 0
metalstorm

Same script for different clients

5 posts in this topic

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



bump - need an answer quick :S

Share this post


Link to post
Share on other sites

wish = switch

;)

Share this post


Link to post
Share on other sites

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

...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  
Followers 0