mpcluever Posted November 1, 2007 Share Posted November 1, 2007 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? Link to comment Share on other sites More sharing options...
Nahuel Posted November 1, 2007 Share Posted November 1, 2007 Maybe you could use _Singleton() with flag 1. So if an occurrence is found, kill it and start the new one. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now