NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 19 20 21 22 23 … 56 Next »
Send keys 2 gbpvr WITHOUT STEALING FOCUS!

 
  • 0 Vote(s) - 0 Average
Send keys 2 gbpvr WITHOUT STEALING FOCUS!
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#11
2007-03-03, 03:03 AM (This post was last modified: 2007-03-03, 03:08 AM by pBS.)
yea, i only use my program for things that don't have wm messages..i couldn't find any other way to do it in hip...
the wm messages work fine in hip, but it is confusing...
i put this in my 'primary command' section of each keyTongueOST(32771,193,0)
only the 193 part is changed,the rest stays as is..

here's part of my HIP config...
Code:
[VALUES1]
VOL+|31727=Volume up    VOLUP
VOL-|31726=Volume Dn    VOLDOWN
DOWN|31712=down    POST(32771,225,0)
LEFT|31711=left    POST(32771,209,0)
RIGHT|31710=right    POST(32771,208,0)
ENTER|31732=enter    POST(32771,229,0)
REW|31722=REW    POST(32771,242,0)
FF|31723=FF    POST(32771,244,0)
PLAY|31721=PLAY    POST(32771,245,0)
STOP|31718=STOP    POST(32771,246,0)
RECORD|31720=RECORD    POST(32771,247,0)
TRACK-|31716=Track-    POST(32771,228,0)
TRACK+|31717=Track+    POST(32771,222,0)
BACK|31708=Back    POST(32771,223,0)
INFO|31728=Info    POST(32771,233,0)
START|31730=Menu    POST(32771,205,0)
CH+|31725=CH+    EXEC(C:\AutoIt3\send2gbpvr.exe||{PGUP}|PGUP|1)
CH-|31724=CH-    EXEC(C:\AutoIt3\send2gbpvr.exe||{pgdn}|PGDN|1)
TV_REC|31671=Recordings    EXEC(C:\AutoIt3\send2gbpvr.exe||{F8}|Recordings|0)
DVD|31707=DVD Menu    
CLEAR|31733=Clear    
*|31714=*    EXEC(C:\AutoIt3\send2gbpvr.exe||{*}|*|1)
#|31715=Pound    
OK|31709=OK    POST(32771,229,0)
TV|31731=Run GBPVR    EXEC(C:\Program Files\devnz\gbpvr\GBPVR.exe|||GBPVR|1)
PAUSE|31719=pause    POST(32771,240,0)
1|31742=1    POST(32771,193,0)
2|31741=2    POST(32771,194,0)
3|31740=3    POST(32771,195,0)
4|31739=4    POST(32771,196,0)
5|31738=5    POST(32771,197,0)
6|31737=6    POST(32771,198,0)
7|31736=7    POST(32771,199,0)
8|31735=8    POST(32771,200,0)
9|31734=9    POST(32771,201,0)
GREEN|31651=GREEN    POST(32771,238,0)
BLUE|31649=BLUE    POST(32771,233,0)
RED|31652=RED    POST(32771,242,0)
YELLOW|31650=YELLOW    POST(32771,248,0)
UP|31713=up    POST(32771,224,0)
GUIDE|31705=Run guide    EXEC(C:\AutoIt3\send2gbpvr.exe||{F1}|guide|0)

that's all the ones i've ever seen for gbpvr..
my list is not totally complete, but it gets the main stuff..Smile

mostly just no wm message for the plugin screens [recordings/vid. library,etc]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#12
2007-03-03, 03:09 AM
So GB-PVR doesn't keep focus when you press a button that uses POST? Can you attach your entire .HIP file? Maybe I have mine configured wrong. GB-PVR keeps focus on my system with the POST msgs.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#13
2007-03-03, 03:14 AM
no focus stealing here...Big Grin
try this one..not sure which files you need..
oh and i'm also using the replacement driver...if not, i'm sure it will not work..
[cuz the key presses would be duplicated on other screen...hitting enter would enter both gbpvr and whatever had focus]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#14
2007-03-03, 07:17 AM
Wakalaka Wrote:Can you post your message code list? I've found a few on the forums and elsewhere. I'm in the process of gathering docs, tips, etc. and have access to update the Wiki so will do that once I get enough info.

No problem, I just got back from a party so I'll upload the list tomarrow. I hope you dont mind that its not all that clean and basically a copy from the post that Sub gave me with my added comments. I'll update the file later with a cleaned up version, but that will come probubly Sunday the earliest.
HydroChronic
Offline

Member

Posts: 106
Threads: 23
Joined: Jan 2007
#15
2007-03-03, 05:15 PM
As promised attached are the two sets of message codes that GBPVR will respond to. As i said it is not a very clean version, but it gets the job done.

The modifier codes for Alt, Shift and Control can be added to other message codes to use Control+Q commands. This does not seem to work with the default Alt, Shift and Control message codes (early in the list).
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#16
2007-03-04, 04:18 AM (This post was last modified: 2007-03-04, 04:29 AM by Wakalaka.)
pBS Wrote:no focus stealing here...Big Grin
try this one..not sure which files you need..
oh and i'm also using the replacement driver...if not, i'm sure it will not work..
[cuz the key presses would be duplicated on other screen...hitting enter would enter both gbpvr and whatever had focus]

Figured out the problem. In the "Edit Value" dialog, you used the "POST Message" button. I was clicking on the "Keyboard" button to the right of "Primary Command", then "Post Message". The difference?

"POST Message" button: 0|31743=0 POST(32771,192,0)
"Keyboard" button : 0|31743=0 {@32771,192,0}

Mine worked, it just made GB-PVR keep focus, while yours didn't. I have no idea what the difference is between the 2.

Thanks for your help. I'll be documenting all of this in "Tips and Tricks".
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
Gandalf
Offline

Junior Member

Posts: 49
Threads: 10
Joined: Aug 2004
#17
2007-03-05, 12:08 AM
Hello!
I cant implement your send2gbpvr with irremote.

1,2 -9 goes ok

but
{run(send2gbpvr {esc})} doesnt work

{run(send2gbpvr 2)} works

I think {} used as an argument for send2gbpvr is translated to a code in
irremote. Eg You cant have {,} in the argument for a "run" in irremote

Solution?

Regards
Gandalf
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#18
2007-03-05, 12:25 AM (This post was last modified: 2007-03-05, 12:35 AM by pBS.)
hmmm,haven't tried that...maybe try quoting it...like "{esc}"
so that irremote knows to pass string as is..
i'll see if there's an alternative..

BTW: they're just autoit3's key list...can be found in the help file..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#19
2007-03-05, 12:34 AM
Wakalaka Wrote:Figured out the problem. In the "Edit Value" dialog, you used the "POST Message" button. I was clicking on the "Keyboard" button to the right of "Primary Command", then "Post Message". The difference?

"POST Message" button: 0|31743=0 POST(32771,192,0)
"Keyboard" button : 0|31743=0 {@32771,192,0}

Mine worked, it just made GB-PVR keep focus, while yours didn't. I have no idea what the difference is between the 2.

Thanks for your help. I'll be documenting all of this in "Tips and Tricks".

i think yours was 'posting' the message to the gbpvr window, gaining focus.. while mine just sends out the message as braodcast and gbpvr picks it up cuz its addressed to it...Smile [or something to that effect..lol]

took me a while to figure out that one too,after which i promptly forgot about it..hehe
the terminology in HIP needs clarification, or longer terms,like 'keycodefromremote' instead of just 'keycode' etc.etc..
cuz you sometimes take an incoming key and translate into another to send out, and the lists aren't real clear which is which...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#20
2007-03-05, 09:17 PM
after looking over your list of the 'other' post messages for 32775,i find all the other keys needed...excellent work dude! Big Grin

so i'm busy converting those last few keys over to all send messages, as i couldn't find any way to translate the {} for my program and it still work...
this way is better anyways...faster...thanx Smile

that deserves a hearty YOU ROCK! Cool

and should DEFINITELY be included in the wiki and any remote docs..!
the 32775 and 32771 differences should be highlighted and i'm thinking really 32775 should be the only list as it duplicates and supercedes the other list entirely...less confusion..

things like tab and enter and esc and Fx keys are the ones that are a pain, but all there from what i can see...even the mediakeys..
overall most excelent..Big Grin
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  External tool: Transfer Season Record schedules from GBPVR to NPVR kendrak24 37 21,220 2013-04-11, 05:58 AM
Last Post: kendrak24
  myGBPVR: use XMBC as GBPVR FrontEnd Ton 161 63,661 2012-02-15, 07:04 PM
Last Post: rantzau
  Translations for nPVR and GBPVR MixMan 19 8,135 2011-08-25, 07:32 PM
Last Post: sub
  N3XT Rev 001.6 with GBPVR support psicotron3 0 1,983 2009-08-30, 08:57 PM
Last Post: psicotron3
  Showname - Rename utility for GBPVR recordings Anthony 0 1,470 2009-03-05, 05:40 PM
Last Post: Anthony
  GBPVR install on WINE/Ubuntu Gutsy fhmanas 28 15,898 2009-02-03, 12:53 PM
Last Post: fhmanas
  GBPVR Wellington Xmas drinks psycik 44 10,995 2008-12-08, 05:44 AM
Last Post: skippy_nz
  Possible infection found on GBPVR site? suddste 40 13,103 2008-10-21, 01:06 AM
Last Post: sub
  GBPVR LCD Plugin for LCDSmartie fooman1 146 68,283 2008-07-03, 08:04 PM
Last Post: prada115
  PSP Streaming from GBPVR psycik 11 4,788 2008-06-03, 11:58 AM
Last Post: fuzzweed

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

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

Linear Mode
Threaded Mode