ncc1701 Posted November 18, 2008 Share Posted November 18, 2008 I have created a script to reconfigure settings for an application if it is installed. I am running it as a startup script with group policy in active directory. The script itself works fine. However, on some of my computers the script is running twice, interfering with itself. I have no idea how it is being launched twice. Other than launching the application it is not launching any thing else. I am fairly new at Autoit. Is there something I can do to troubleshooot how it is running twice on the same machine? Group policy is the only thing launching it. Keep in mind it is not doing it on every machine just a few. Thanks in advance for your help. Link to comment Share on other sites More sharing options...
Valuater Posted November 18, 2008 Share Posted November 18, 2008 maybe have it write to a file with today's date. When ran again, it checks the date? 8) Link to comment Share on other sites More sharing options...
ncc1701 Posted November 18, 2008 Author Share Posted November 18, 2008 maybe have it write to a file with today's date. When ran again, it checks the date?8)I should have read the FAQ first like suggested. A1. You can use a function called _Singleton to detect multiple instances of your script.I will try this. I think this may solve my issue. Thanks for your suggestion though. I will try that if this doesn't work. Link to comment Share on other sites More sharing options...
Valuater Posted November 18, 2008 Share Posted November 18, 2008 .. some of my computers the script is running twice, interfering with itselfyes...A1. You can use a function called _Singleton to detect multiple instances of your script.should do the trick here.8) 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