Jump to content

Compiled Script is running again and again


Recommended Posts

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.

Link to comment
Share on other sites

  • Developers

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

Link to comment
Share on other sites

  • Developers

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Developers

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...