Search the Community
Showing results for tags '@autoitpid'.
@guinness mentioned in a different thread an Approach, I honestly do not 100% how to use it. I have a script, that shall run on one Windows box only once. If started more than once, it shall not Exit itself, but kill the other processes using the same _Singleton "$sOccurrenceName". So what I would Need is the PID(s) of the *OTHER* instances, that use the same "$sOccurrenceName". This may be from a different logon ("global\"), and the @scriptname might be different, too. (someone might rename the EXE, for what sensless reason whatsoever...) TIA, Rudi.