Sign in to follow this  
Followers 0
zeffy

_Singleton() help

5 posts in this topic

Hi, I've been trying to figure out how to check to see if a Singleton occurrence name has been registered or not, without registering it (which is what _Singleton("test", 1) would do), does anyone know how to do this?

Thanks.

Share this post


Link to post
Share on other sites



Hi, I've been trying to figure out how to check to see if a Singleton occurrence name has been registered or not, without registering it (which is what _Singleton("test", 1) would do), does anyone know how to do this?

Thanks.

Without using _Singleton ? use processlist function for find it .


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Without using _Singleton ? use processlist function for find it .

If I wanted to just look for the script's process name I'd just use ProcessExists, but what I want to do is check to see if the mutex that _Singleton registers, is already registered, ProcessList doesn't do this.

Share this post


Link to post
Share on other sites

Go with OpenMutex in that case.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

Sweet, thanks man.

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