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.



LinkBack URL
About LinkBacks
Reply With Quote



Bookmarks