2012-06-13, 01:37 AM
Hi all. I'm making the transition from GBPVR to nPVR. I'm using a new system (Win7 64-bit). I have a Hauppauge 45-key remote and the remote working correctly using the irremote.ini file. For example, I can program play as Play={CTRL}p and it works just as it should. However, I would like some help setting the key commands so that it forces the focus to nPVR (i.e., I can use the remote while the wife is doing something else on the computer and the remote commands will be sent to nPVR and not the program my wife is using). I know of 2 ways that I should be able to do this but neither seems to be working on my new system. I'm hoping that someone smarter than me can point me in the right direction
The first way was the only way I was able to do this under GBPVR on my WinXP rig...I used the ârunâ command to shift the focus back to nPVR. For example PLAY={run(C:\Progra~2\NPVR\NextPVR.exe)}{CTRL}p (I could then also add an {sleep(2)} {alt}{tab} to shift the focus back to the other program that my wife may be using at the time). Because I am using the 64-bit version of windows, nPVR is in the C:\Progra~2\NPVR\ directory rather than C:\Progra~1\NPVR\. I can confirm this is correct because the green power button is set as GRNPOWER={run(C:\Progra~2\NPVR\NextPVR.exe)} and works perfectly to load the program. However, I will point out that if I hit the green power button when nPVR is already loaded, it has no effect. This used to shift the focus to the PVR program when I used this on XP with GBPVR. I suspect if I can figure out why it does not shift the focus to nPVR on the new system, this method would work. Howeverâ¦Iâd actually rather the second option (see below)â¦but at this point Iâll take any suggestions for either option.
The second way I have tried is to use the âfindwndâ command. For example PLAY= {findwnd(WindowsForms10.Window.8.app.0.33c0d9d,,)}{SendMsg(32775,131152,0)}. I have used Spy++ and confirmed that nPVR is in fact identified as WindowsForms10.Window.8.app.0.33c0d9d, but this still does nothing. In fact, I have gone so far as to download the sample file from the wiki at http://www.nextpvr.com/nwiki/pmwiki.php?...moteConfig , but it does not work either (changed directory name for 64-bit windows, but did not change anything else). I would much prefer to ge this second option working as it appears more elegant than the first approach (drives my wife nuts if she is typing something because some of her key strokes end up getting sent to the PVR program before it alt-tabs back to her). However, I was never able to figure this out with GBPVR under WinXP either. Anyone know why this is not working for me? If so, want to teach me the âsecret handshakeâ so I can use it too:o?
Any suggestions would be greatly appreciated! Iâm uploading my current irremote.ini file in case anyone is curious.
The first way was the only way I was able to do this under GBPVR on my WinXP rig...I used the ârunâ command to shift the focus back to nPVR. For example PLAY={run(C:\Progra~2\NPVR\NextPVR.exe)}{CTRL}p (I could then also add an {sleep(2)} {alt}{tab} to shift the focus back to the other program that my wife may be using at the time). Because I am using the 64-bit version of windows, nPVR is in the C:\Progra~2\NPVR\ directory rather than C:\Progra~1\NPVR\. I can confirm this is correct because the green power button is set as GRNPOWER={run(C:\Progra~2\NPVR\NextPVR.exe)} and works perfectly to load the program. However, I will point out that if I hit the green power button when nPVR is already loaded, it has no effect. This used to shift the focus to the PVR program when I used this on XP with GBPVR. I suspect if I can figure out why it does not shift the focus to nPVR on the new system, this method would work. Howeverâ¦Iâd actually rather the second option (see below)â¦but at this point Iâll take any suggestions for either option.
The second way I have tried is to use the âfindwndâ command. For example PLAY= {findwnd(WindowsForms10.Window.8.app.0.33c0d9d,,)}{SendMsg(32775,131152,0)}. I have used Spy++ and confirmed that nPVR is in fact identified as WindowsForms10.Window.8.app.0.33c0d9d, but this still does nothing. In fact, I have gone so far as to download the sample file from the wiki at http://www.nextpvr.com/nwiki/pmwiki.php?...moteConfig , but it does not work either (changed directory name for 64-bit windows, but did not change anything else). I would much prefer to ge this second option working as it appears more elegant than the first approach (drives my wife nuts if she is typing something because some of her key strokes end up getting sent to the PVR program before it alt-tabs back to her). However, I was never able to figure this out with GBPVR under WinXP either. Anyone know why this is not working for me? If so, want to teach me the âsecret handshakeâ so I can use it too:o?
Any suggestions would be greatly appreciated! Iâm uploading my current irremote.ini file in case anyone is curious.