Standby command from within Xlobby?

Speak your mind

Standby command from within Xlobby?

Postby kroberts1972 on Mon Apr 03, 2006 6:36 pm

I currently have my usbuirt set up to wake from standby on a power command, but I would also like to be able to go into standby with xlobby to simulate a power off. I see that there is a shutdown event, but no standby event, am I missing something?

Thanks,
Kevin
kroberts1972
 
Posts: 4
Joined: Sat Feb 04, 2006 9:04 pm

Postby erikt on Tue Apr 04, 2006 1:55 pm

I'm guessing you're using Girder to program your USB-UIRT for resume
from standby? If so, you can use the workaround I use. Just create
an event that sends Girder an event string, and have Girder put your PC into
suspend.

Alternatively, you could use the OS->execute and use a command-line
program to put your machine into standby. There might be such a program
already part of your OS (I know there's an XP shutdown command, but I
don't think it will suspend), or you can use PsShutdown.

erikt
erikt
 
Posts: 81
Joined: Tue Nov 09, 2004 1:49 pm
Location: Ottawa, Ontario, Canada

Postby dgemily on Tue Apr 04, 2006 2:35 pm

Here: http://www.france.xlobby.com/forum/dgem ... prolon.zip unzip the file and you will find a repertory with 2 files in it ( a vbs and a batch files) if you execute the .vbs you will get a standy pc ;)
so put the repertory where you want. then use a xlobby command "os:execute file" pointing to the vbs...
dgemily
 
Posts: 793
Joined: Thu May 13, 2004 6:24 am
Location: Paris, France

Postby kroberts1972 on Tue Apr 04, 2006 4:47 pm

Thanks!
I am not using girder to program it, I just used the irhelper to get the wake up code into the usb-uirt, and now I will use dgemily's command to put it into standby. I also found this lcommand,which works from a command line, but I couldn't get the arguments to work when I entered it into the execute command for the standby event.

%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState>ok
kroberts1972
 
Posts: 4
Joined: Sat Feb 04, 2006 9:04 pm