Jump to content

Is it possible to determine that Windows is shutting down?


4Eyes
 Share

Recommended Posts

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
Link to comment
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? :)

Link to comment
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!

Link to comment
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
 Share

  • Recently Browsing   0 members

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