Jump to content
Sign in to follow this  
BigDog

about compile ...

Recommended Posts

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 !

Share this post


Link to post
Share on other sites

Check _SingleTon() in the helpfile :)

1) thanks

2) how do i set the $sOccurenceName of mycode.au3 ?

or how do i get the $sOccurenceName of mycode.au3 ?

Share this post


Link to post
Share on other sites

$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 !

Share this post


Link to post
Share on other sites

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 on

then then i could let mycode1.au3 and mycode2.au2 .... COULD NOT be executed at the same time ?!!

Share this post


Link to post
Share on other sites

oh , 1 more questions please .

is that meaning : i could set the $sOccurenceName all like "my1234768secret" in mycode1.au3 , mycode2.au3 and so on

then 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 Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×
×
  • Create New...