tried "ACTIVATE;iGuidance||nextRRcode"
And R U using theiGnative feature?
I'm trying to integrate iGkeys shortcuts into a skin I've built for RoadRunner, but am finding it difficult to pass the focus from the RoadRunner skin (which is using SENDKEYS to pass the shortcut keystrokes), to iGuidance, which needs to be the active window in order for iGkeys keystrokes to work...
Is there a way to pass focus to iGuidance after a RoadRunner button has been pressed, perhaps waiting a half-second before the iGkeys shortcut is actually executed? I've read as many of the iGkeys threads as I could find but wasn't able to find anything specific.
'01
Hang on while I defragment my car...
the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%
tried "ACTIVATE;iGuidance||nextRRcode"
And R U using theiGnative feature?
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
I'm using the 4/12 version of RR and I don't think iGNative mode is available in it...
I'm calling iGuidance from a GPS menu selection screen. This is the button which loads the iGuidance screen:
Code:B21,325,275,150,101,"LOAD;EXTERNAL_GPS_IG.SKIN;;C:\Program Files\iNav\iGuidance\iGuidanceUMPC.exe;iGuidance",""
and this is the button in question. It uses SENDKEYS, rotating through 1, 2, 3 and 4, to show the 3 3D views and then the 2D view of the iGuidance map...
'01Code:B13,200,547,099,052,"ACTIVATE;iGuidance||SENDKEY;{1}||SWITCHBUTTON;13>>||SENDKEY;{2}||SWITCHBUTTON;13>>||SENDKEY;{3}||SWITCHBUTTON;13>>||SENDKEY;{4}||SWITCHBUTTON;13>>",""
Hang on while I defragment my car...
the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%
FYI, iGnative has been native to rr since the 9-6-2006 release....
Button code looks correct, I there any reason your NOT using the ignative? Or do you run two different gps apps and require the gps menu to select which one?
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
Use a short delay after the ACTIVATE command. That worked for me.
BTW: You have a space in your fist SENDKEY command
SENDKEY;{ 1}
This is a side effect of the forums, it will break long lines of code with spaces unless they are wrapped with the CODE tag. I wrapped the lines in the post above with the CODE tag, so if someone copies and pastes the line, it will work.
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
Yeah I think the spaces in my code were introduced when I pasted the line into the post editor here. There aren't any spaces in my skin code...
I manually added the ignative=true line into the rr.ini... when I do that, and set iGuidance for EXTERNAL, the iGKeys shortcuts don't work at all.
By default, pressing 'T' in iGuidance brings up the Trip Computer.
With iGKeys runnings, pressing 'T' brings up a shortcut to "Go to Street Address" which is not a normally available keyboard shortcut within iGuidance. It's scripted into iGKeys.
If I remove the ignative=true setting from rr.ini and call iGuidance like so:
then iGuidance loads into the GPS skin I built for it, and embeds (seemingly) properly.Code:B21,325,275,150,101,"LOAD;EXTERNAL_GPS_IG.SKIN;;C:\Program Files\iNav\iGuidance\iGuidanceUMPC.exe;iGuidance",""
With iGuidance embedded this way, *and* with iGKeys running in the system tray, pressing a button that uses SENDKEY;{T}
still loads the trip computer. In other words, it's not catching the fact that iGKeys is supposed to reassign the 'T' to load "Go to Street Address"...Code:B15,400,547,099,052,"ACTIVATE;iGuidance||SENDKEY;{T}||GETFOCUS"
However, if I click on the iGuidance map, and press 'T' directly on the keyboard (I'm testing all of this on a laptop) then the iGKeys scripted commands do work, and Go To Street pops up.
So it's something with the fact that a button within RR is being pressed, that's causing focus to go to RR at which point the standard iGuidance shortcut for 'T' takes effect rather than the one which iGKeys is supposed to insert instead... You're probably familiar with iGKeys, but if not, the way it works is that whenever the iGuidance window is the active window on the screen, the shortcuts scripted into iGKeys override all other shortcuts for iGuidance and, in some cases, exist as entirely new shortcuts... but if the iGuidance window is not the active window on the screen, then the iGKeys shortcuts don't do anything at all...
'01
Hang on while I defragment my car...
the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%
Couple of things... iGkeys is really no longer needed. Back with ig2.x it has some advanantages, but most of the keyboard commands that iGKeys accessed, have since been removed from iGuidance.
On the screen you have iG embedded on, you can simply use the code:
"SENDKEY;%{v}{t}"
This sends an ALT V (drop down the View menu) and sends T (for the trip meter)
This happens instantly, and you will never see the drop down menu appear.
My suggestion, is to just scrap iGKeys and use the standard rr sendkey to access iGuidance.
Just have a look at the pull-down menu's, for the letter that is underlined in the list, to see what the hot key is for that option / function.
For instance all of the items in the "File drop-down" are:
"SENDKEY;%{f}{E}" = "Enter Destination"
"SENDKEY;%{f}{L}" = "Save Current Location"
"SENDKEY;%{f}{C}" = "Clear Route"
"SENDKEY;%{f}{R}" = "Record Track"
"SENDKEY;%{f}{P}" = "Play Track"
"SENDKEY;%{f}{D}" = "Demo"
"SENDKEY;%{f}{A}" = "About"
"SENDKEY;%{f}{X}" = "Exit"
You can access the other 2 drop down menu's by simply using the T & V to access the drop-downs, and then the letter of the function that you want.
On a last note, make sure your "switch buttons" are in order, meaning if you have switchbutton1 then that button needs to be the very first button listed in the skin file itself, or it will not work properly.
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart
My Fiero Build Thread
No I don't use Igkeys, nor have a use for it. The ignative makes the ig window a child of rr and thats probably why it didn't work at all as ig was no longer its own parent window.
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
JohnWPB... I know how to SENDKEY to the dropdown menus... the point is that iGKeys allows access to commands that are not available via the dropdowns... for example, using iGKeys it's possible to access internal menu commands by sending one keypress to automatically show all hospitals or gas stations within a 25-mile radius of current location... that can't be done via the dropdowns...
So, instead of having to click, in iGuidance, the MENU button, the DESTINATION button, the POI button, the AUTOMOTIVE button, the GAS button, and then the BY DISTANCE button, iGKeys makes it possible to just press, for example, the 'G' key and it handles all 6 of those keypresses transparently and just shows you the list of gas stations...
But again, I can't seem to figure out how to set the focus so that iGuidance is the active window *as* the SENDKEY is sending the keystroke... it always seems to send the default iGuidance keystroke instead, as if iGuidance where not the active window.
EDIT: Incidentally, I found out while working on this that you don't need to call the first part of the dropdown menus in iGuidance... at least not in the version 4 that I'm working with... for example, you don't have to SENDKEY;%{T}{R} to get the Route Info... You can just SENDKEY;{R} and it works just fine....
I also found that you can SENDKEY;{3} and it toggles beteen 3D view #2 and 2D view... someone might find that useful... of course, I'm trying to go a different route by using iGKeys, but those shortcuts work for me in iGuidance v4...
'01
Hang on while I defragment my car...
the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%
Bookmarks