Jump to content
Sign in to follow this  
qwert

How to determine number of copies running?

Recommended Posts

qwert

Like most, I've used _Singleton() to limit to a single executing copy of a script.  But, now, I have the opposite problem, where a user can validly run several copies of the same script ... each with its independent GUI.

Can someone suggest a good way to 1) determine if multiple copies are running and, if there are, 2) compile a table of "unique handles".   I'd like to be able to use the handles to cycle through the copies ... and even send keys to individual scripts.

I'm trying to get my bearings before I dive into this one.

Thanks for any help.

 

Share this post


Link to post
Share on other sites
qwert

Thanks for those.  WinList() works well for my current needs.  I've never worked with either function.

I appreciate your help.

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  

×