Jump to content

Search the Community

Showing results for tags '_singleton'.

  • Search By Tags

    • _singleton ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Found 7 results

  1. This is just a little helpful script, that I started using a month or so ago (one program so far), with this version having a Restore ability added (so now using with two programs of mine, as of tonight). You can find other alternatives or similar scripts here, the most recent being - _SingleScript...
  2. @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"....
  3. I have used _Singleton function in my script to restrict only one instance to run. For testing, I have written below code, and triggered multiple instances. #include <Misc.au3> MsgBox(0,"",@ScriptName) if _Singleton(@ScriptName, 1) = 0 Then Msgbox(64, @ScriptName, "The program is alread...
  4. i Tried Using Function _single ton It Works Like Charm on same computer But it is unable to catch up when 2 instance of exe are launched in lan pc I would also like to know if there was a way to make particular number of instance work like allow 4-5 instance of same exe to run
  5. Hi. I'm a teacher and I do a lot of tutorials and other presentations on my computer. I've developed a tool using AutoIt and Adobe AIR to display all the shortcuts I use while I'm presenting. According to the forum rules this would mean that I've developed a keylogger, so I can't show any of the cod...
  6. Hello , Please look at the code below: ; This is not the real script that I use for my project!!! This decoy script helps you understand better ;) #include "Misc.au3" Global $sProgramIdentifier Func Test($sIdentifier) $sIdentifier = $sProgramIdentifier Switch _Singleton($sProgramIdentifier, 1...
  7. I just noticed that Trac ticket #2108 was closed as "No bug". I understand that the code as it is now might already be broken because it does more than originally intended. On the other hand the change smartee proposed solved my problem (described ). I implemented and tested smartees code and it now...
×
×
  • Create New...