Remote control any app using virtual keys

title says it all

Postby chaumurky on Mon Aug 14, 2006 1:51 am

As far as Q,s 1 and 2 go:

1. I just created an 'os:execute' event to launch "C:\Program Files\DNTV Live!\DNTVLive.exe"
2. Then created a button to link to that event. This can be done in the skin editor for any skin you wish).

No plugins...

Then I created 'plugin:xSendKey' events for 'channel up', 'channel down', 'record' and 'stop' (CTRL:U, CTRL:D, CTRL:R and CTRL:S respectively). These, I then mapped with the xremote plugin to my remote keys. When pressed the simulated keystroke combinations are sent to the application in focus (in this case DNTVLive!). Hope this helps.
chaumurky
 
Posts: 14
Joined: Mon Jul 17, 2006 3:18 am
Location: Annandale, Australia.

Postby lpg on Tue Oct 03, 2006 7:26 pm

art wrote:Try this. I had this code in my other plug-in, so I just had to copy it...
Anyway, I was able to test it a little bit on DNTVLive! like changing to DVD mode etc. and it worked for me. I don't have a card, so that's all I could do.


Art, would you mind sharing the source to the xSendKeys plug-in. I want to do something similar with a serial interface. This would sure give me a jump start.

Thanks Larry
lpg
 
Posts: 296
Joined: Thu Apr 14, 2005 8:17 pm
Location: Chicago

Postby art on Wed Oct 04, 2006 3:07 am

Source posted on the plug-in's web page (bottom part), enjoy...
Last edited by art on Thu Mar 22, 2007 1:26 pm, edited 1 time in total.
art
 
Posts: 284
Joined: Sat Mar 20, 2004 8:40 am
Location: Allen, TX

Postby P3rv3rt B3ar on Wed Oct 04, 2006 4:22 am

Wow! how on earth did i miss this plugin. I was using auto hotkey to send keys earlier, now i can ditch that... very nice work there!!
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby lpg on Fri Oct 06, 2006 3:18 am

art wrote:Source posted on the plug-in's web page (bottom part), enjoy...


Thanks Art, I missed it

The plugin works great.
lpg
 
Posts: 296
Joined: Thu Apr 14, 2005 8:17 pm
Location: Chicago

Previous