Jump to content
Sign in to follow this  
zer0degrees

i need some help

Recommended Posts

zer0degrees

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
zer0degrees

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

Share this post


Link to post
Share on other sites
zer0degrees

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
sandyd

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
zer0degrees

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  

×