maniootek Posted January 15, 2010 Share Posted January 15, 2010 I'm looking for solution for turn off computer at certain time. For example: turn off computer when time is more than 09:00:00 Link to comment Share on other sites More sharing options...
Beege Posted January 15, 2010 Share Posted January 15, 2010 Look in the help file for time and date macros to figure out if @Hour > 9 and look at Shutdown function for shutting down your pc. Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 15, 2010 Share Posted January 15, 2010 Or use Windows own Task Scheduler. There's no reason to reinvent the wheel (unless you want to ) .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Rando Posted January 15, 2010 Share Posted January 15, 2010 I Agree with AdmiralAlkex I just make a simple autoit script with one line of code shutdown(numberHere)and add it to the windows task scheduler as run program shutdown.exe @ on certain days and times. It works better then the default windows shutdown because if you can set a certain number in the autoit shutdown(numberHere) code to make the computer not wait for programs to end. This causes the computer to basically shut off no matter what. Although sometimes it can be a bad thing for some ppl not to wait for programs to finish, there are number codes that wait for programs to finish first before shutting off. Just pick the right number for you look in the autoit help file for them. Link to comment Share on other sites More sharing options...
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