Jump to content

Shutting off computer? How can i do that?


Recommended Posts

HotKeySet("{PAUSE}", "mExit")

MouseClick("left", 551, 23, 1)

While 1

Send("{F3}")

Sleep(1080000)

Send("{F3}")

Sleep(1080000)

Send("{F3}")

Sleep(1080000)

Send("{F6}")

WEnd

Func mExit()

Exit

EndFunc

where and what should i put so that the program shuts off computer when its done the commands?

Link to comment
Share on other sites

Shutdown (X)

Replace X with one of the following

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

Add the required values together. To shutdown and power down, for example, the code would be 9 (shutdown + power down = 1 + 8 = 9).

 "I believe that when we leave a place, part of it goes with us and part of us remains... Go anywhere, when it is quiet, and just listen.. After a while, you will hear the echoes of all our conversations, every thought and word we've exchanged.... Long after we are gone our voices will linger in these walls for as long as this place remains."

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