Jump to content
Sign in to follow this  
elgaza

Compiled Script is running again and again

Recommended Posts

elgaza

Hi

I don't know why but when the compiled script is executing I see after a while in the trayicon that another instance of

the same script is running

is there a way to restrict the script to run only one instance?

Thank you very much.

Share this post


Link to post
Share on other sites
Jos

Hi

I don't know why but when the compiled script is executing I see after a while in the trayicon that another instance of

the same script is running

is there a way to restrict the script to run only one instance?

Thank you very much.

Does it have a run() statement in it ?

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
elgaza

Does it have a run() statement in it ?

Hi

Yes it runs a file and then does what it needs to do , click the buttons

if thats what you meant.

Share this post


Link to post
Share on other sites
Jos

Hi

Yes it runs a file and then does what it needs to do , click the buttons

if thats what you meant.

What is the programname you start with the Run() statement?

...and what is the name of your compiled script ?


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
elgaza

Thank you

I am new to this so I dont know much about it

you said to add _Singleton("blahblahblah")

what is the blahblah should be just any thing or the name of the script?

and how do I add the Misc.au3 header file.?

this must be self understood to you guys but I am avery new newbe

thank you for the fast reply

Share this post


Link to post
Share on other sites
elgaza

Thanks again

this is really probably the most active forum i have ever seen

Share this post


Link to post
Share on other sites
Jos

Thank you

I am new to this so I dont know much about it

you said to add _Singleton("blahblahblah")

what is the blahblah should be just any thing or the name of the script?

and how do I add the Misc.au3 header file.?

this must be self understood to you guys but I am avery new newbe

thank you for the fast reply

Not really... was trying to understand why the script starts itself... in other words not fight the symptoms but find the cause .....

There must be a reason why the script starts again and have seen several times before that people use RUN("xyz.exe") and call the script XYZ.au3, then after compilation it ends up as XYZ.exe thus shelling itself....

:whistle:


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
DW1

it is commonplace to post your script in this forum

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  

×