Jump to content

Recommended Posts

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
Posted

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

Do
$WindowsIsStillRunning = 1
Until $WindowsIsStillRunning <> 1

What are you trying to do? :)

Posted

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

Posted

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!

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
×
×
  • Create New...