Sign in to follow this  
Followers 0
zer0degrees

i need some help

7 posts in this topic

#1 ·  Posted (edited)

How can I make my script exit before the computer shuts down? :whistle:

Edited by zer0degrees

Share this post


Link to post
Share on other sites



I mean: How to close any script before the computer shuts down.

Share this post


Link to post
Share on other sites

yes i tried that but i want the script closed automatically right before the computer shuts down.

Share this post


Link to post
Share on other sites

You will need to register the event WM_CLOSE and allow your script to respond when it receives this message.

See GUIRegisterMsg in the help for more info.


----[ SandyD ]---

Share this post


Link to post
Share on other sites

can you give me some more info on that pls? i looked at GUIRegisterMsg in the help file but i don`t understand too much of it. am i supposed to write

GUIRegisterMsg($WM_CLOSE, "MY_WM_COMMAND")

or what?

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  
Followers 0