Jump to content

Same script for different clients


Recommended Posts

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 ;)

Link to comment
Share on other sites

  • Moderators

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...