jennico Posted April 7, 2007 Author Posted April 7, 2007 (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 April 7, 2007 by jennico Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
Richard Robertson Posted April 7, 2007 Posted April 7, 2007 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.
jennico Posted April 7, 2007 Author Posted April 7, 2007 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 kisses j. Spoiler I actively support Wikileaks | Freedom for Julian Assange ! | Defend freedom of speech ! | Fight censorship ! | I will not silence.Don't forget this IP: 213.251.145.96
Richard Robertson Posted April 8, 2007 Posted April 8, 2007 You are quite welcome. I don't often get a chance to help these cases where I know what I'm doing because someone usually gets here first.
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