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
 sleep/standby and hibernate command
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Giusepppe

3 Posts

Posted - 05/13/2017 :  15:46:57  Show Profile  Reply with Quote
I am using very poor lines for these scripts. Do you have any better ones?

For sleep, i use this script;
acSendKeys("@")
acDelay(50)
acSendKeys("{TAB}{TAB}{TAB}~{DOWN}~")


For hibernate:

acSendKeys("{DELAY=100}@r shutdown -h{ENTER}")

NOTE: I'm using Windows8.1 with Modern UI.

Edited by - Giusepppe on 06/09/2017 21:33:43
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2017 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000