stottle wrote:If EG was in the foreground (so that it received events), how would it know what to do with the events? And wouldn't it mess up playback if EG was in the foreground?
stottle wrote:My understanding is that its VNC client (HippoRemote) -> VNC Server (HippoServer?) -> Foreground Application. If EG isn't the foreground application, EG isn't in the loop. Unless the VNC Server was modified to pass the info to EG, I think you are out of luck.
dustobub wrote:If the keyboard plugin trapped the SendInput() commands and hardware keypresses, like AHK/Launchy, and then triggered an event, things would work perfectly.
dustobub wrote:I like your idea about created a VNC build that could configurably send keypresses or EventGhost events, but I think having EventGhost's Keyboard plugin listen to SendInput() like AHK would be a simpler design. Don't you think so?
dustobub wrote:Thanks for all of your help and sorry for the confusion,
stottle wrote:What you want is to trap keypresses, but only if they come from HippoRemote. Is there a way to do this? I thought that is you trapped keypresses, you trapped them all. And you don't want to trap them all, right? Any idea what AHK or Launchy do? You distinguish between SendInput and hardware keypresses, but I thought they looked the same at the point you can trap. Am I missing something?
Set EG = CreateObject("EventGhost")
Set EG = Nothing
VolumeUp = EG.TriggerEvent "VolumeUp"
VolumeDown = EG.TriggerEvent "VolumeDown"
Users browsing this forum: No registered users and 2 guests