Need help with WinDVD and virtual keys

Help each other out

Need help with WinDVD and virtual keys

Postby electr0n on Fri Aug 11, 2006 2:35 pm

I have a question about send command or sendkey to WinDVD and was wondering if someone could help me. I am using WinDVD 5 which was included with my motherboard and it works well so I'd prefer to use it over zoomplayer. I got my USB-UIRT yesterday and was able to program the generic directional keys and that works great.

What I would like to do now is to have my WinDVD session when I'm watching movies to be controlled by the remote. Which I understand I'll have to map my Harmony 880 keypresses with a virtual keyboard command to WinDVD (spacebar, escape, cntl-T, etc.). I was following this thread
http://www.xlobby.com/forum/viewtopic.php?t=4403&highlight=sendkey
but could not get a send command to work. Here is what I was trying:

Class Name = WinDVDClass
Window Name = Player
Message = WM_KEYDOWN
wParam = 32
iParam = 0

To simulate a spacebar (pause) with no luck. But I am unsure that I've got the class and window name correct. I was trying to use Windows-spy as suggested but it was not obvious what I needed to do to look up the correct info. I did see instances of the following: InterVideo WinDVD, Player, and MovENC (or something like that).

So basically I was wondering if someone who is using WinDVD with a remote could give me some advice on how they did it. If you could let me know what Class and Window name you use - or if the sendkey function is more appropriate to use. The discussion of sendkey was a little over my head as I'm pretty new to XLobby but it sounds like it could also do what I need.

I would like to do this directly through send command or sendkey - I don't own Girder. I believe this can be done through Girder/XRemote but I prefer to use strictly XLobby commands if possible.

Thanks in advance - your input is appreciated.
electr0n
 
Posts: 14
Joined: Fri Aug 04, 2006 9:40 pm
Location: Austin, TX

Postby electr0n on Sat Aug 12, 2006 4:01 pm

Well I decided to use the sendkeys plugin and it works pretty well except for one thing. I can't get WinDVD to respond to the KEY:SPACE (pause/play) command. Strange because my keyboard space works correctly but the plugin doesn't. Is it possible that the command is wrong? If anyone is using this sendkey app please check and see. If this doesn't work then I guess I could look at HIP. I was just hoping to do everything through XLobby.
electr0n
 
Posts: 14
Joined: Fri Aug 04, 2006 9:40 pm
Location: Austin, TX

Postby electr0n on Sat Aug 12, 2006 11:00 pm

Nevermind I downloaded HIP and it solved all my problems. Thanks anyway.
electr0n
 
Posts: 14
Joined: Fri Aug 04, 2006 9:40 pm
Location: Austin, TX

Postby art on Sun Aug 13, 2006 11:11 pm

electr0n wrote:Well I decided to use the sendkeys plugin and it works pretty well except for one thing. I can't get WinDVD to respond to the KEY:SPACE (pause/play) command.


Just to let you (and others) know, I've tested windvd 5.0 with xsendkeys plug-in and it works just fine - not sure what could be wrong, your command looks OK....
art
 
Posts: 284
Joined: Sat Mar 20, 2004 8:40 am
Location: Allen, TX

Postby electr0n on Mon Aug 14, 2006 4:09 pm

art-

Thanks for checking, I appreciate the response. Anyway, in the meantime I downloaded HIP and it does everything that I want. My Harmony 880 is controlling everything with my new USB-UIRT talking to XLobby through HIP. Life is sweet!!!
electr0n
 
Posts: 14
Joined: Fri Aug 04, 2006 9:40 pm
Location: Austin, TX