Sign in to follow this  
Followers 0
mpcluever

Single Instance feature?

2 posts in this topic

Been converting a bunch of Autohotkey scripts and I can't find a replacement to their "#SingleInstance force" feature. Basically what I want is that when I fire off a script that's already running, I want to stop the old one and start the new one. Any ideas?

Share this post


Link to post
Share on other sites



Maybe you could use _Singleton() with flag 1. So if an occurrence is found, kill it and start the new one.

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