Jump to content

Recommended Posts

Posted (edited)

Just put this at the beginnning of your script

If UBound(ProcessList(@ScriptName)) > 2 then Exit

I wrote and compiled a script and  only want 1 instance of the script to be running at any time.

I can't do a process check because it will always be there.

How do I limit the compiled run to just one instance?

TIA

<{POST_SNAPBACK}>

Edited by ILikeStuff

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
×
×
  • Create New...