BigDog Posted May 18, 2008 Share Posted May 18, 2008 Dear sir how do i compile mycode.au3 to a [single instance] mycode.exe ? i hope limit mycode.exe be executed in only ONE instance at anytime ! Link to comment Share on other sites More sharing options...
monoceres Posted May 18, 2008 Share Posted May 18, 2008 Dear sir how do i compile mycode.au3 to a [single instance] mycode.exe ? i hope limit mycode.exe be executed in only ONE instance at anytime ! Check _SingleTon() in the helpfile Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
BigDog Posted May 18, 2008 Author Share Posted May 18, 2008 Check _SingleTon() in the helpfile 1) thanks2) how do i set the $sOccurenceName of mycode.au3 ?or how do i get the $sOccurenceName of mycode.au3 ? Link to comment Share on other sites More sharing options...
monoceres Posted May 18, 2008 Share Posted May 18, 2008 $sOccurenceName is just a random string you choose that is supposed to be unique for your program, just choose something only you would choose, like "BigDogsprogram8435416" Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
BigDog Posted May 18, 2008 Author Share Posted May 18, 2008 $sOccurenceName is just a random string you choose that is supposed to be unique for your program, just choose something only you would choose, like "BigDogsprogram8435416"thank you ! i got it ! Link to comment Share on other sites More sharing options...
BigDog Posted May 18, 2008 Author Share Posted May 18, 2008 thank you ! i got it !oh , 1 more questions please .is that meaning : i could set the $sOccurenceName all like "my1234768secret" in mycode1.au3 , mycode2.au3 and so onthen then i could let mycode1.au3 and mycode2.au2 .... COULD NOT be executed at the same time ?!! Link to comment Share on other sites More sharing options...
Developers Jos Posted May 18, 2008 Developers Share Posted May 18, 2008 oh , 1 more questions please .is that meaning : i could set the $sOccurenceName all like "my1234768secret" in mycode1.au3 , mycode2.au3 and so onthen then i could let mycode1.au3 and mycode2.au2 .... COULD NOT be executed at the same time ?!!Correct, it looks at the used string to identify the process. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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