PDA

View Full Version : Basic problem wth capturing keyboard commands



Chazotta
November 22nd, 2005, 11:31 PM
I'm failing in my endeavour to control a TV application in Xlobby using Girder.

All I am trying to do is control the TV app by simulating various keyboard shortcuts, so that when I hit a button in Xlobby, the keyboard press is simulated by a send message (using Girder).

This is what i have tried doing:
1. Create new command
2. Select "command" in the command tab
3. Select Target
4. Select the TV app and click on name and class name
5. Select Apply
6. Select Capture
7. Select Start Capture.
8. Bring the TV app to focus
9. Press the relevant keys for the relevant TV command (eg CTRL and H)

and that's as far as I can get. It seems that the capturing only sees the left click when I select the TV app, it is not capturing the keyboard press within the actual App. Are there certain pluggins that have to be installed/used ? what am i doing wrong ?[/code]

Promixis
November 23rd, 2005, 04:37 AM
Capture is for mouse clicks only.

Use the keyboard to send keystrokes.

Note, G4 has a complete and detailed manual to help you through this process

Chazotta
November 25th, 2005, 07:13 PM
How do you send keystrokes as opposed to capturing mouse clicks ? Will it enable WParam and LParam and Window and class name so that I can create a sendmessage event in Xlobby ?