Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 08-30-2008, 03:31 PM   #1
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,558
ThunderStick is on a distinguished road
Garmin Mobile PC OSK and More - RELEASE

OK here it is the moment we have all been waiting for.
THE GARMIN MOBILE PC OSK
It works with command line input

There are TWO versions,
FULL FEATURED AND SLOW or SIMPLE SENDKEY AND FAST AS LIGHTNING.
To send the character "K" to Garmin the command line would be
GarminSendKey.exe K

It will send any "autoit compatible" send key command to garmin.

Download both and compare they pretty much operate the same just the fast one is simple and to the point but fast as can be. The featured version is slower but has a few extra bells and whistles.
Both are pretty solid and work well.
Attached Files
File Type: zip GarminSendKeyFeatured.zip (236.0 KB, 532 views)
File Type: zip GarmSendKeyFAST.zip (234.9 KB, 623 views)

Last edited by ThunderStick; 09-01-2008 at 10:29 AM.
ThunderStick is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-30-2008, 03:32 PM   #2
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,558
ThunderStick is on a distinguished road
This is more of a sendkey program, and can be adapated for use with any skin in any front end.
ThunderStick is offline   Reply With Quote
Old 08-30-2008, 04:38 PM   #3
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Nice, thank you for this, now I might just have to go out and buy the program. I was saving my pennies for IG 2009, but it doesn't seem to be worth 2x the price of GMPC... This was a major issue holding me back from it.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 08-30-2008, 05:06 PM   #4
Newbie
 
maddop's Avatar
 
Join Date: Oct 2005
Location: Liverpool
Posts: 44
maddop is on a distinguished road
Subscribed and downloaded.
Will give this a try tomorrow and let you know how it goes in my setup.
__________________
BMW E46 (year 2000)
CARPC installed and working!!
maddop is offline   Reply With Quote
Old 08-31-2008, 09:12 AM   #5
Variable Bitrate
 
Join Date: Oct 2007
Posts: 377
dmistry is an unknown quantity at this point
subscribed
dmistry is offline   Reply With Quote
Old 08-31-2008, 07:48 PM   #6
Newbie
 
Join Date: Aug 2008
Posts: 18
kuranuk is an unknown quantity at this point
So, has anyone put together an OSK skin to use this with?
kuranuk is offline   Reply With Quote
Old 08-31-2008, 08:47 PM   #7
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
here's what I threw together:





The OSK is a little slow since it has to run the script for each and every letter, but it works. If there was a way to speed it up a little bit, or create a buffer of commands, that would be nice.

I have my screen set up so that the "garmin rr" in the top left activates and deactivates the keyboard, and the "back" exits back to RR.

EDIT: Slight tweak to the OSK.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!

Last edited by monkeyracer; 08-31-2008 at 10:12 PM.
monkeyracer is offline   Reply With Quote
Old 08-31-2008, 09:53 PM   #8
Super Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 3,745
JohnWPB is a jewel in the roughJohnWPB is a jewel in the roughJohnWPB is a jewel in the rough
Quote: Originally Posted by monkeyracer View Post
If there was a way to speed it up a little bit, or create a buffer of commands, that would be nice.



Very Nice! I have a way you can really speed it up if you want. Just add a "receiver" to the script, so it is always running and "listening" for commands. You can start the script when you press the OSK button and close it when you hit enter.

In the script you then simply use CASE statements in a loop:

Here is the basic script to start with:

Code:
#include <misc.au3> $hwnd_rec = GUICreate('GarminOSK') GUIRegisterMsg(0x004A, '_GUIRegisterMsgProc') While 1 Switch String($OSKCommand ) Case "a" [Your command here to send a to Garmin] Case "b" [Your command here to send b to Garmin] Case "c" [Your command here to send c to Garmin] Case "find" [Your code to find the text box in garmin] Case "enter" [Send Enter to Garmin] Exit EndSwitch WEnd Func _GUIRegisterMsgProc($hWnd, $MsgID, $WParam, $LParam) If $MsgID = 0x004A Then $vs_cds = DllStructCreate("ptr;dword;ptr", $LParam) $vs_msg = DllStructCreate('char[' & DllStructGetData($vs_cds, 2) + 1 & ']', DllStructGetData($vs_cds, 3)) $recd_msg = DllStructGetData($vs_msg, 1) $recd_msg = StringLeft($recd_msg, DllStructGetData($vs_cds, 2)) $OSKCommand = $recd_msg EndIf EndFunc

Then, on the RR button use:

"SENDMSG;GarminOSK;a"

to send an "a" to the script.

So it is not always running, when you press ENTER on the OSK, send the command to Garmin, and then close the script.


I used this type of script for my screen lock in the DFX skin, and the key presses are instant.
__________________
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DigitalFX 4.0 Skin Available at www.JohnWPB.com

My Fiero Build Thread

Last edited by JohnWPB; 08-31-2008 at 10:47 PM.
JohnWPB is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 08-31-2008, 10:13 PM   #9
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
Looks like there will be an update to this pretty quick then...
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 08-31-2008, 10:52 PM   #10
Super Moderator
 
JohnWPB's Avatar
 
Join Date: Sep 2005
Location: West Palm Beach, Florida
Posts: 3,745
JohnWPB is a jewel in the roughJohnWPB is a jewel in the roughJohnWPB is a jewel in the rough
Hmmm thinking about this a bit more.... there may be an even easier way to simplify the code.. Look for enter, esc and what not, and if its not a "special" command or key, then just send what was received to Garmin.
__________________
Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DigitalFX 4.0 Skin Available at www.JohnWPB.com

My Fiero Build Thread

Last edited by JohnWPB; 09-02-2008 at 09:00 AM.
JohnWPB is offline   Reply With Quote
Old 09-01-2008, 09:48 AM   #11
Newbie
 
Join Date: Jul 2006
Posts: 16
veiloctane is an unknown quantity at this point
looks promising great work!!!

i need help embedding this into bmv2 skin any help appreciated!!


thanks
__________________
2006 TOYOTA COROLLA XRS
EEEPC 701
Windows XP Pro
RoadRunner
freefone 1.4 Alpha
Bluetooth Handsfree utility
Garmin Mobile PC
Bybyte Double-Din LCD Frame 629 LCDFR629
Directed DMHD-1000 HDRADIO
veiloctane is offline   Reply With Quote
Old 09-01-2008, 10:24 AM   #12
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,558
ThunderStick is on a distinguished road
OK, I sped this thing up to damn near instant. It went from about 20 lines of code down to TWO.
No find feature, doesnt need it.
No voice features, NOT NEEDED either.
simple send key that is all. BUT FAST
Jimmy Johns Fast..
There is probably about a .05 sec delay from button press to key typed in text box.
RR doesnt respond to button presses that fast so I dont think this script being any more speedier matters.
Plus it will work with any Front end that can run an external commandline program.
Download from first post.

The big difference here was how the command was handled.
before the program did mulitple things before it would send a command.

First it would Check if RR was running - who cares if it is,
Next check for garmin if it is running - Not necessary because if it wasnt you wouldnt use this,
Next Activate the garmin window - Obsolete idea for send key usage. Instead of using a send function I used controlsend which sends the key directly to garmin no matter if it is active or not.
But the biggest improvement was taking out all the mumbling in between with the find command. I had a command line flag that would operate a mouseclick in to the text box. No longer necessary with the control send command. If you loose focus from the text box simply get focus again by touching it. You would have to do this if using a normal keyboard or even a regular OSK. FIND COMMAND - garbaged

Anyway give this a shot and tell me what you think. It is definitely a lot faster.
ThunderStick is offline   Reply With Quote
Old 09-01-2008, 11:02 AM   #13
Wants to make it harder
 
monkeyracer's Avatar
 
Join Date: May 2007
Location: Lakehood, CO
Posts: 1,414
monkeyracer is an unknown quantity at this point
the new fast version is just that. A lot more like what you'd expect from an OSK.
__________________
2007 Chrysler PT Cruiser TE
Car PC Progress:
Planning.......[---------X-] 95%
Parts...........[---------X-] 90%
Fabrication...[---------X-] 90%
RR Skin........[---------X-] 95%
View my
Worklog
Road Runner Skins
Website
Favorite thread EVER!
monkeyracer is offline   Reply With Quote
Old 09-01-2008, 04:36 PM   #14
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,558
ThunderStick is on a distinguished road
Quote: Originally Posted by veiloctane View Post
looks promising great work!!!

i need help embedding this into bmv2 skin any help appreciated!!


thanks

This is a very simple script, read the instructions....
ThunderStick is offline   Reply With Quote
Old 09-01-2008, 06:04 PM   #15
Raw Wave
 
treetop777's Avatar
 
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,915
treetop777 is an unknown quantity at this point
Great collaboration on this - ya'll are geniuses!

Leave it to the RR experts - what ever it is won't be a problem for long!

Now let us have some skin (havic V3, Blades-Edge, DFX 4.x) RELEASE!

Last edited by treetop777; 09-01-2008 at 06:11 PM.
treetop777 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

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

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




All times are GMT -5. The time now is 11:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics