Sign in to follow this  
Followers 0
4Eyes

Is it possible to determine that Windows is shutting down?

4 posts in this topic

#1 ·  Posted (edited)

Is it possible from within an AutoIT program to determine that windows is shutting down?

Sorry... found some useful info here:

http://www.autoitscript.com/forum/index.php?showtopic=96109&st=0&p=726003&hl=windows%20shutdown&fromsearch=1&#entry726003

I'd delete this thread if I knew how.

Regards,

4Eyes

Edited by 4Eyes

Share this post


Link to post
Share on other sites



This will loop until the computer shuts down, or the world ends.

Do
$WindowsIsStillRunning = 1
Until $WindowsIsStillRunning <> 1

What are you trying to do? :)

Share this post


Link to post
Share on other sites

JRowe,

Just trying to determine if windows is shutting down so I can do some stuff.

BTW, while I appreciate your reply, I see no relevence with the question I put forward.

4Eyes

Share this post


Link to post
Share on other sites

The code was snarky, the rest was just me trying to get more information. I see from your link that you've gotten a trail to follow, so I'll just leave it at that. Good luck!

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