in reply to Need Advice On Script to Automate Windows Standby
Thanks Again! Your small bit of highly relevant wisdom has allowed me to come up with the answer to my own question. Precisely what I was looking for!#!/usr/bin/perl -w use strict; use Win32::API; Win32::API->Import( 'PowrProf', 'BOOLEAN SetSuspendState( BOOL Hibernate, BOOL ForceCritical, BOOL DisableWakeEvent )', ); SetSuspendState(0,0,0);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Need Advice On Script to Automate Windows Standby
by Anonymous Monk on Nov 21, 2012 at 05:14 UTC | |
by Anonymous Monk on Nov 21, 2012 at 09:34 UTC |