The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner

Reply
 
Thread Tools Display Modes
Old 11-12-2007, 02:07 PM   #1
Constant Bitrate
 
01black_ac's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 223
My Photos: (0)
How to pass focus from RR to IG via iGkeys?

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%
01black_ac is offline   Reply With Quote
Sponsored Links
Old 11-12-2007, 02:36 PM   #2
Raw Wave
Blue ZX3's CarPC Specs
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 2,015
My Photos: (16)
tried "ACTIVATE;iGuidance||nextRRcode"

And R U using theiGnative feature?
Blue ZX3 is online now   Reply With Quote
Old 11-12-2007, 02:56 PM   #3
Constant Bitrate
 
01black_ac's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 223
My Photos: (0)
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...

Code:
B13,200,547,099,052,"ACTIVATE;iGuidance||SENDKEY;{1}||SWITCHBUTTON;13>>||SENDKEY;{2}||SWITCHBUTTON;13>>||SENDKEY;{3}||SWITCHBUTTON;13>>||SENDKEY;{4}||SWITCHBUTTON;13>>",""

'01
__________________
Hang on while I defragment my car...

the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%

Last edited by JohnWPB : 11-13-2007 at 01:39 AM. Reason: Wrapped code tags around the code, to prevent the space the forum inserts
01black_ac is offline   Reply With Quote
Old 11-12-2007, 10:59 PM   #4
Raw Wave
Blue ZX3's CarPC Specs
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 2,015
My Photos: (16)
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?
Blue ZX3 is online now   Reply With Quote
Old 11-13-2007, 01:18 AM   #5
Variable Bitrate
 
Join Date: Aug 2004
Location: Germany
Vehicle: 91 Ford Probe
Posts: 309
My Photos: (0)
Use a short delay after the ACTIVATE command. That worked for me.
BTW: You have a space in your fist SENDKEY command
Quote:
SENDKEY;{ 1}


Last edited by JohnWPB : 11-13-2007 at 11:02 AM.
Konrad is offline   Reply With Quote
Old 11-13-2007, 11:03 AM   #6
Road Runner & Mp3car Gatherings Moderator
JohnWPB's CarPC Specs
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Vehicle: 99 Mitsubishi Eclipse
Posts: 2,671
My Photos: (0)
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.
__________________
.


CarPuter: 2.8Ghz P4 with 1 Gig Mem, 500 Gig HD, Iguidance 4.0
7" Motorized Touchscreen, XM PCR1000, Visteon HDZ300 HD
Radio, WIFI, Fusion Brain.
Powered By Road Runner & the DigitalFX 4.0 Skin www.johnwpb.com
JohnWPB is online now   Reply With Quote
Old 11-13-2007, 12:08 PM   #7
Constant Bitrate
 
01black_ac's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 223
My Photos: (0)
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:

Code:
B21,325,275,150,101,"LOAD;EXTERNAL_GPS_IG.SKIN;;C:\Program Files\iNav\iGuidance\iGuidanceUMPC.exe;iGuidance",""

then iGuidance loads into the GPS skin I built for it, and embeds (seemingly) properly.

With iGuidance embedded this way, *and* with iGKeys running in the system tray, pressing a button that uses SENDKEY;{T}
Code:
B15,400,547,099,052,"ACTIVATE;iGuidance||SENDKEY;{T}||GETFOCUS"

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"...

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%

Last edited by 01black_ac : 11-13-2007 at 12:21 PM.
01black_ac is offline   Reply With Quote
Old 11-13-2007, 12:31 PM   #8
Road Runner & Mp3car Gatherings Moderator
JohnWPB's CarPC Specs
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Vehicle: 99 Mitsubishi Eclipse
Posts: 2,671
My Photos: (0)
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.
__________________
.


CarPuter: 2.8Ghz P4 with 1 Gig Mem, 500 Gig HD, Iguidance 4.0
7" Motorized Touchscreen, XM PCR1000, Visteon HDZ300 HD
Radio, WIFI, Fusion Brain.
Powered By Road Runner & the DigitalFX 4.0 Skin www.johnwpb.com

Last edited by JohnWPB : 11-13-2007 at 12:39 PM.
JohnWPB is online now   Reply With Quote
Old 11-13-2007, 12:36 PM   #9
Raw Wave
Blue ZX3's CarPC Specs
 
Blue ZX3's Avatar
 
Join Date: Aug 2004
Location: Chicago area,IL
Vehicle: 01 Ford ZX3
Posts: 2,015
My Photos: (16)
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.
Blue ZX3 is online now   Reply With Quote
Old 11-13-2007, 01:55 PM   #10
Constant Bitrate
 
01black_ac's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 223
My Photos: (0)
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%

Last edited by 01black_ac : 11-13-2007 at 02:12 PM.
01black_ac is offline   Reply With Quote
Sponsored Links
Old 11-13-2007, 04:42 PM   #11
Maximum Bitrate
EL CAMINO's CarPC Specs
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Vehicle: 1981 chevy el camino
Posts: 758
My Photos: (0)
those commands have been in iGuidance since 2.xx, i agree with blue, i dont see the point of using iGkeys, is an autoit script that simulates key press. what you can do is what most of us have done for a long time, make your own script for your special needs,iGkyes is a great script with a lot of work in it dont get me wrong. or another easy route is just borrow script from another skin and use those in you skin. i dont have iG4 but the big difference to iG3 is the speech engine thats what i heard.
EL CAMINO is offline   Reply With Quote
Old 11-14-2007, 01:08 AM   #12
Road Runner & Mp3car Gatherings Moderator
JohnWPB's CarPC Specs
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Vehicle: 99 Mitsubishi Eclipse
Posts: 2,671
My Photos: (0)
Quote: Originally Posted by 01black_ac View Post
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...

(I have not used iG2 in quite a long time, so I am not completely 100% sure on this, BUT am almost certain this is why iGkeys no longer works)

As far as I remember, you could send [ENTER] [right] [ENTER] [DOWN] [ENTER] to get to ATM machines. What was removed from 2.x to 3.0, 3.1, and now 4.0 are the arrow keys. Open iG 3.0 or later, press enter to get to the menu, but then you will see you can no longer navigate iG's menu's with the keyboard.

Since this happened, many of us have written AutoIt scripts accessing the Dialogs in iG to navigate. Its a rough way to do it, but it works at least

Run the attached script, with iG open, either inside out outside of Road Runner) and it will bring up ATM machines, in order of distance to your location. The script will open, navigate iG's menu's, and then close.

I originally wrote these scripts to do such things, and included them with my skin, as well as the source code for each one. Since that time, many of the skins out there are now using the scripts.
Attached Files
File Type: zip ATM.zip (173.8 KB, 12 views)
__________________
.


CarPuter: 2.8Ghz P4 with 1 Gig Mem, 500 Gig HD, Iguidance 4.0
7" Motorized Touchscreen, XM PCR1000, Visteon HDZ300 HD
Radio, WIFI, Fusion Brain.
Powered By Road Runner & the DigitalFX 4.0 Skin www.johnwpb.com
JohnWPB is online now   Reply With Quote
Old 11-14-2007, 09:04 AM   #13
Maximum Bitrate
ThunderStick's CarPC Specs
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Vehicle: 1986 Jaguar XJS
Posts: 889
My Photos: (2)
Here is a list of usefull keyboard shortcuts for IG. If you didnt know allready...
1 - Main Menu
2 - Destination
3 - Map View Toggle
4 - GPS Info
6 - Map Orientation
7 - Route List
9 - Weather Forecast
w - Weather Forecast
r - Route List
t - Trip Info
a - Almanac
f - Full screen toggle
g - GPS Info
c - Current Location
v - Volume
n - Map Orientation
m - Mute Toggle
__________________
86 Jaguar XJS - Completed
New Age - RR Skin
Concept - RR SKIN
"Your two cents are worthless pennies if you consider the exchange rate for my 2 cents"
ThunderStick is offline   Reply With Quote
Old 11-14-2007, 06:31 PM   #14
Road Runner & Mp3car Gatherings Moderator
JohnWPB's CarPC Specs
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Vehicle: 99 Mitsubishi Eclipse
Posts: 2,671
My Photos: (0)
Just an FYI:

1, 2, 4, 5, 6, 7, 8 & 9 do absolutely nothing in iG 4.0
__________________
.


CarPuter: 2.8Ghz P4 with 1 Gig Mem, 500 Gig HD, Iguidance 4.0
7" Motorized Touchscreen, XM PCR1000, Visteon HDZ300 HD
Radio, WIFI, Fusion Brain.
Powered By Road Runner & the DigitalFX 4.0 Skin www.johnwpb.com
JohnWPB is online now   Reply With Quote
Old 11-14-2007, 07:15 PM   #15
Constant Bitrate
 
01black_ac's Avatar
 
Join Date: Jul 2005
Location: NJ
Posts: 223
My Photos: (0)
What JohnWPB said.. plus, the 'P' key toggles POIs on and off in iGuidance v4

'01
__________________
Hang on while I defragment my car...

the Acura ITX project
the Acura ITX skin for RoadRunner
project progress: 99%
01black_ac is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Toy For Christmas (PowerMate) chuckster Road Runner 9 02-10-2006 07:24 AM
RR not regaining focus after Sendkey... J187 Road Runner 4 01-15-2006 12:39 AM
How make RR on top of IG? civic5zigen RR Skins 15 11-19-2005 07:47 PM
RR pulling focus away when it receives customlabels CdRsKuLL RR Bug Tracker 4 09-22-2005 04:21 PM
Bruno Speech Recognition with RR? ruairi Road Runner 12 05-03-2005 12:20 PM


All times are GMT -5. The time now is 06:40 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics