23rd August 2008 - There was an issue with our name caching server at around 08:00AM GMT. It has been fixed.

Wake Up?

Post here with problems - issues.

Wake Up?

Postby TonyNo on Sun Apr 20, 2008 2:47 pm

Is there a way to send a keystroke to a client (or something else) to wake it up (turn monitor on)?

I just noticed that I lost this functionality by not running the PH DCC.
TonyNo
 
Posts: 351
Joined: Sat Mar 17, 2007 3:53 pm
Location: Illinois USA

Postby JakeBullet on Sun Apr 20, 2008 5:14 pm

hhhhmmmm....

Nothing directly. But I will add a 'WAKE_UP' to the socket server in the morning.

You could...
add this to the PH_GV_CHANGE VBS function and use PH to change a global var.

Dim objShell
set objShell = CreateObject("WScript.Shell")
objShell.SendKeys "d"

it will send a key stroke
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am

Postby TonyNo on Sun Apr 20, 2008 10:35 pm

Thanks!
TonyNo
 
Posts: 351
Joined: Sat Mar 17, 2007 3:53 pm
Location: Illinois USA

Postby JakeBullet on Mon Apr 21, 2008 5:45 am

OR....

I forget. You can create your own Socket server commands.

Code: Select all
'=================================================================
Function REMOTE_CMD(sCMD, sParam)
    '--- cmds sent by remote - PPC
    'msgbox "REMOTE_CMD()"
   if ucase(sCmd) = "WAKE_UP" then
      Dim objShell
      set objShell = CreateObject("WScript.Shell")
      objShell.SendKeys "d"
   end if
End Function


then just send a WAKE_UP with the socket server

But the next version now has a EH_WAKE_UP command
JakeBullet
Site Admin
 
Posts: 1102
Joined: Thu Mar 23, 2006 8:13 am


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest



FREE FORUM Hosting by AtFreeForum. Create your Free WEB FORUM Hosting now!
GROUP DISCUSSION Features - Free FORUM HOSTING Directory Listing - DISCUSSION FORUM Terms of Service - FREE PHPBB Hosting Privacy
- FASHION ACCESSORIES
cron