BobiusMaximus Posted January 1, 2007 Posted January 1, 2007 Shutdown(6) ;Force a reboot This is all the helpfile gives me, is there a way to just shut down? Because I was thinking of making a program I could have running in the background, so when I call a function with a hotkey(Shift+Esc or sth) it would automatically shut down my computer, because sometimes I'm on my PC and I have to shut it down quickly for reasons I won't go into. So basically, how can you just shutdown? Is it something like Shutdown(5) or what? -Bob Photoshop User and Noob AutoIt user.
Snarg Posted January 1, 2007 Posted January 1, 2007 sometimes I'm on my PC and I have to shut it down quickly for reasons I won't go into.So mom does not see you looking at porn? Anyway, re-read the help file. It explains all the shutdown options. If you just want to shut down the computer, use: Shutdown (1) This is from the help file: 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). Standby or hibernate are ignored if other codes are set. They are also ignored under Win9x. A little reading goes a long way. Post count means nothing.
dandymcgee Posted January 2, 2007 Posted January 2, 2007 Read his account name... He's going to need a quick shutdown method to use right after he's done hacking the CIA. - Dan [Website]
BobiusMaximus Posted January 2, 2007 Author Posted January 2, 2007 Not porn, I'm just not meant to be on after 10 at night, which isn't nearly late enough. And I used this name becuase one I normally use on forums was taken and I couldn't think of anythink else so got a name from MSN contact I couldn't find that, thanks -Bob Photoshop User and Noob AutoIt user.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now