NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 406 407 408 409 410 … 1231 Next »
Use irremote.ini to run autohotkey macro

 
  • 0 Vote(s) - 0 Average
Use irremote.ini to run autohotkey macro
dshoup
Offline

Member

Posts: 247
Threads: 39
Joined: Jan 2006
#1
2007-12-08, 10:33 PM
This is a bit off track from GB-PVR support, but I'm hoping someone here can help anyhow. I'm trying to set up my remote to move GB-PVR between my computer monitor and my HDTV (set up as dual monitors). I have written an AutoHotkey macro that moves the window to the TV when I press Control-t and to my monitor when I press control-m. These commands work great when entered from the keyboard and they move GB-PVR no matter what program has the current focus. However, I can not find a way to assign this function to my remote using irremote.ini. I have tried setting it up as a function under the PVRX2 section, but it does nothing (I assume because it is trying to interpret the control-T or M as a GB-PVR command). I have also tried setting up the remote control function under an AutoHotkey section I have defined and this does not work either. I assume this is because there is no autohotkey window to receive the focus (though it has a process called AutoHotkey.exe that shows up in task manager). Can anyone tell me how feed the control-T or M commands to the macro program using the remote...or perhaps someone can suggest a better forum for me to post my question.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#2
2007-12-08, 11:10 PM
I assume you are using a Hauppage remote... first you need to decide which button on the remote you want to use.

As an example, let's say you want to use the RADIO button

then, go into the [Default] section and make sure you have

RADIO={ctrl}{t}

and make sure you comment out any other mention of RADIO in the [Default] section.

Give that a try. You might have to have the line send the keystroke to the desktop or something, but this might work so give it a shot.
dshoup
Offline

Member

Posts: 247
Threads: 39
Joined: Jan 2006
#3
2007-12-09, 08:31 PM
sgilani Wrote:I assume you are using a Hauppage remote... first you need to decide which button on the remote you want to use.

As an example, let's say you want to use the RADIO button

then, go into the [Default] section and make sure you have

RADIO={ctrl}{t}

and make sure you comment out any other mention of RADIO in the [Default] section.

Give that a try. You might have to have the line send the keystroke to the desktop or something, but this might work so give it a shot.

Thanks for the suggestion. I am using a 45 Key Hauppauge. I have already tried the {ctrl}{t} suggestion and nothing happens when I press the remote button. (true both when I put the command in the PVRX2 section and when I try to setup an autokey section). I assume it is trying to "interpret" this and send a command to GB-PVR rather than windows itself (or AutoKey).

What did you mean by "have the line send the keystroke to the desktop"? How is this done? It sounds like this might work...I think I just need a way to make windows think it has received keystrokes, but what irremote.ini is doing is sending an interpreted command to a specific program. I just can't figure out any other way to send info from irremote.ini. Any suggestions?
replaytv
Offline

Senior Member

Posts: 352
Threads: 22
Joined: Oct 2004
#4
2007-12-09, 10:26 PM
I use custom menu to do the switching between TV and monitor. First create config1 with TV as 2nd monitor and config2 as computer monitor, then I have customer menu to run a batch script to check that no recording, no viewing then the script swaps config file then restart recording to have the new config applied.

Hope that will help.

Dan L.
Dell Dual Core 6400 XP Pro, PVR500, HVR-1600, MVPs on Belkin wireless bridge
dshoup
Offline

Member

Posts: 247
Threads: 39
Joined: Jan 2006
#5
2007-12-10, 01:21 AM
replaytv Wrote:I use custom menu to do the switching between TV and monitor. First create config1 with TV as 2nd monitor and config2 as computer monitor, then I have customer menu to run a batch script to check that no recording, no viewing then the script swaps config file then restart recording to have the new config applied.

Hope that will help.

Dan L.

Neat idea. I assume the custom menus you are referring to are "desktop profiles" (at least that is what my nVidia card calls them)? I may play with this as it sounds like it might accomplish what I need...probably a project for next weekend. Thanks for the suggestion.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Irremote.ini bethanyrayne 5 4,332 2010-06-29, 04:08 AM
Last Post: sgilani
  Irremote.ini bethanyrayne 5 3,192 2009-09-21, 08:50 PM
Last Post: fla
  PVRX2 section in irremote.ini McBainUK 5 2,145 2009-03-28, 07:32 PM
Last Post: kayak4ever
  Can Hauppage remote # and * keys be configured through Irremote.ini? JP23 2 1,561 2008-10-08, 04:17 AM
Last Post: JP23
  Irremote, action on more then one button AmericanSlon 2 1,366 2008-08-26, 11:45 PM
Last Post: AmericanSlon
  Help needed with irremote.ini or EventGhost obelix998 2 2,279 2008-07-21, 12:44 PM
Last Post: obelix998
  My irremote.ini not being used? socko 6 2,298 2008-01-25, 10:01 PM
Last Post: socko
  irremote command clarification HydroChronic 10 6,771 2007-01-30, 10:00 PM
Last Post: davreh99
  irremote.ini and the MVP ATHiker 1 1,286 2006-11-11, 05:32 PM
Last Post: sub
  Anyone have GBPVR.exe in Irremote.ini? capone 17 6,179 2006-10-29, 06:00 PM
Last Post: DoPeFiSh

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode