Jump to content
Sign in to follow this  
EmptySpace

Run only 1 scipt/program at same time

Recommended Posts

EmptySpace

I cant find working solution. I tried

If UBound(ProcessList(@ScriptName)) > 2 Then Exit

It works how I want but if I rename program then I can easly start more programs cos procces changes too.

Also tried:

If WinActive("[TITLE:my programs title]", "") then exit

Programs title wont change so its best to use it but I cant find how.

Share this post


Link to post
Share on other sites
robertcollier4

http://www.autoitscript.com/autoit3/docs/libfunctions/_Singleton.htm

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  

×