Hi, I have a script which I double-click to run. If i double-click it again, it will launch another instance of the script. Is there a way to allow only one instance of a script, so that if another instance of the script is launched, it will just return with an error. Thanks Regards, Ali