Jump to content

Autoit MsgB wenn power Plug got removed


Recommended Posts

Take a look at : https://www.autoitscript.com/autoit3/docs/libfunctions/_WinAPI_GetSystemPowerStatus.htm

In the help you will find an example with which you can test what happens when you remove the power cable.
For your information :
The Function AdlibRegister checks the current state in intervals (default=250 milliseconds, but can be increased).

Edited by Musashi
Answer extended

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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...