StrokesPlus Forum
                       
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Lua Scripts
 General Action Scripts
 Turn off your computer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

defpt

18 Posts

Posted - 12/10/2012 :  20:43:22  Show Profile  Reply with Quote
It is suitable for Win 8.

acRunProgram("c:\\windows\\system32\\shutdown.exe","-s -t 0",0, 1)

defpt

18 Posts

Posted - 02/17/2013 :  05:12:49  Show Profile  Reply with Quote
--Shutdown
--for win xp/vista/7/8(Traditional model)
--acRunProgram("c:\\windows\\system32\\shutdown.exe","-s -t 0",0,1)
--for win8(Default mode,)
acRunProgram("c:\\windows\\system32\\shutdown.exe","-s -hybrid -t 0",0,1)
Go to Top of Page

babakm

58 Posts

Posted - 12/10/2015 :  22:40:38  Show Profile  Reply with Quote
How about "Sleep mode" for computer?
Go to Top of Page

babakm

58 Posts

Posted - 12/10/2015 :  22:52:14  Show Profile  Reply with Quote
quote:
Originally posted by babakm

How about "Sleep mode" for computer?



acRunProgram("C:\\Windows\\System32\\rundll32.exe","powrprof.dll,SetSuspendState")
Go to Top of Page

control_freak

51 Posts

Posted - 04/09/2016 :  19:15:43  Show Profile  Reply with Quote
how to shutdown windows 10?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000