Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hybrid sleep
#1
I search for the a solution for the hybrid sleep (when the computer shutdown he write to ram and hd). I have searched for a solution. But I not find anything which is working.
Before anyone ask: Yes hybrid sleep is on at my computer (windows7). With the win-wtart-menu it works. Also works when I try with the external tool psshutdown:
run "psshutdown.exe" "-d -t 0 -v 0"

But how I can call this directly? I have try many:
shutdown 4 0 ""
shutdown 5 0 ""
run "$system$\rundll32.exe" "PowrProf.dll,SetSuspendState Hybrid Sleep"
run "$system$\rundll32.exe" "PowrProf.dll,SetSuspendState Sleep"
run "$system$\rundll32.exe" "PowrProf.dll,SetSuspendState"
run "$system$\rundll32.exe" "PowrProf.dll, SetSuspendState 0,1,0"
run "$system$\rundll32.exe" "PowrProf.dll, SetSuspendState 0,0,0"
run "$system$\rundll32.exe" "PowrProf.dll,SetSuspendState Hibernate"
run "$system$\shutdown.exe" "/h"

All this solutions only write to hd or only to ram. But not both.

The following not works (I guess only works on windows 8 )
run "$system$\shutdown.exe" "-s -hybrid -t 0"

Has anyone an idea?
#2
Macro Macro2536
Code:
Copy      Help
SetSuspendState 0 0 0
#3
This also only write to hd (see my first post). Anyway I have try again and... Same result. Only write to hd. :twisted:
#4
Or use keys or mouse.

mouse
Macro Macro2537
Code:
Copy      Help
#region Recorded 6/27/2015 4:23:32 PM
'W{}            ;; Win
int w2=wait(15 win("Start menu" "DV2ControlHost"))
lef 349 445 w2 1 ;;split button 'Shut down', drop down button
lef 42 103 win("" "BaseBar") 1 ;;popup menu 'Application', menu item 'Sleep'
#endregion
only keys
Macro Macro2539
Code:
Copy      Help
#region Recorded 6/27/2015 4:26:58 PM
'W{}            ;; Win
int w2=wait(15 win("Start menu" "DV2ControlHost"))
'TTRs        ;; Tab Tab Right s
#endregion
Of cource this is not better than psshutdown.


Forum Jump:


Users browsing this thread: 1 Guest(s)