Jump to content

Recommended Posts

Posted (edited)

@Mr Icekirby:

it seems that your script is late, too. :-(

i get the error message: "the initialization of <myscrpit.exe> failed because the workstation is shutting down".

this means that the script called by "onautoitexit" still comes late, or not ? i used @ExitMethod = 4. maybe there can be made a modification ?

or is it a good idea to observe a process like "explorer.exe" and run the script when explorer.exe doesn't exist anymore ? but this still will be too late, i assume.

thanks for your effort.

j.

Edited by jennico
Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

Posted

No, you didn't run it at the right time then. You run my script at startup, and it will do nothing until shutdown. You put the code you want run into the Whatever() function and it will run before most other programs are notified of shutdown.

Posted

yeah, i found my mistake.

at first i put <run("myscript.exe")> into the whatever function. this was wrong because the run call will not be executed anymore.

but then i directly wrote the script code of myscript.exe into the function and now it works excellently !!!!!!!!!!!

thank you very much, this was a big help for me :shocked::(

kisses j.

Spoiler

I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.OixB7.jpgDon't forget this IP: 213.251.145.96

 

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
  • Recently Browsing   0 members

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