PDA

View Full Version : Totally stuck. How to map the arrow keys using Special Keys?



Robotronic
August 22nd, 2004, 10:50 AM
I'm having the most difficult time trying to do something which is very basic. I feel a bit stupid that I can't figure out how to do this. I'm hoping that someone can point me in the right direction.

Basically, I want to map the 4 directional arrow keys on the remote (streamzap) to the 4 arrows keys on the PC keyboard ( for a specific application) At first I tried to do this for the Notepad application, as a proof as concept.

I experienced some initial success. I can get special keys, such as ALT F4 ( close window ) to work. I can also get mouse move to work, and window move, moves the notepad window.So I know that I am targeting the right window, and I also know that the remote is successfully sending commands to girder. However, I just can't get the special keys -UP,DOWN, LEFT or RIGHT to work. I'm expecting that pressing these keys on the remote would emulate the arrow keys on the PC keyboard for a targeted application window. I also tried targeting other application windows, but in each case the arrow keys seem to be ignored by the target application. Checking the 'Alterative Proc' check box does not make a difference.

Any guidance would be appreciated. I have spent two days on this so far, and feel a but frustrated that I can't figure it out.

Thanks.

snesteg
August 22nd, 2004, 11:55 AM
My guess is that you have a targeting problem. Alt+F4 and window move should target notepad.exe but the keyboard command should target notepad.exe and Edit as Child Class. Otherwise your key press will be sent to the application rather than the edit field.
Using the target arrow you can see the different targets when the black border pops up around the edit field vs the whole application.

Robotronic
August 22nd, 2004, 12:44 PM
Thanks snesteg. That was the problem with the poof of concept test for Notepad.exe. The child class needs to be checked as "Edit"

I can now progress to the problem I was trying to solve in the first place, which was trying to map the arrow keys for the Meedio interface.
I adopted the same technique as the notepad example,

The target settings are -

Executable = "Meedio.exe"
Child Class = "TEffectsMenu"
Only send to first 1 match

Keyboard - 'Alternative proc' checked = true
Special Key "UP"

It worked!

Thanks again.