Jump to content
Sign in to follow this  
zeffy

_Singleton() help

Recommended Posts

zeffy

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
wakillon

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
zeffy

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.