Jump to content

Show Shutdown Dialog (WinXP)


Recommended Posts

I was playing with the desktop just now.

I did WinSetState("Program Manager", "", @SW_HIDE) and the desktop icons were hidden.

Then I was wondering what would happen if I do:

WinClose("Program Manager", "")

It showed the shutdown dialog!

Better than sending keys.

Link to post
Share on other sites

don't like Shutdown ( code )?

The shutdown code is a combination of the following values:

0 = Logoff

1 = Shutdown

2 = Reboot

4 = Force

8 = Power down

32= Suspend

64= Hibernate

i like options.

For fun try closeing all the explorer.exe proccesses. There are a lot of fun tricks to be found.

AutoIt3, the MACGYVER Pocket Knife for computers.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...