Sign in to follow this  
Followers 0
lekremyelsew

Two instances of a script

5 posts in this topic

Is there a way to detect if a script is ran and it is running again, and if so is there away to have a script run a Func when another instance of a script is ran?

My thought was to _PostMessage() and have the script be able to detect it so it can do something, but I don't know how to have an AU3 react to system messages.

Share this post


Link to post
Share on other sites



_SingleTon()


[center]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.[/center]

Share this post


Link to post
Share on other sites

I get the way that works but, is there a way to have the currently running script do the action instead of the 2nd one that gets ran?

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