if you know vb or some other language you can easily make an app that runs your app and sends those keys....
Hi all
My GPS application doesnt automatically wake up the gps until I select GPS from the menu and then GPS on/off
Both of these commands are ALT-G and ALT-G again, how do I send these to the application on startup of the application, I have tried pressing ALT-G when creating the shortcut details in Frodoplayer, doesnt help, is there a way to do this ? or not ? at the moment I use the Powermate with a long click as ALT-G and a short click as ALT-G in the gps app (the gps app is based on the PaPaGo GPS and is called Handymap) but thats a waste of the powermates capabilities, do I need some wizard to create an .exe or service running that does this ? or is there some funny command I can enter to achieve this that I dont know about ?
Cheers
Nano ITX / 512 MB / 60 GB / Panasonic slot load / M1-ATX / Bu303 / Sound blaster 24 / PPi amps / rockford sub
FS = MTSVO motorised in dash screen pm me for details
if you know vb or some other language you can easily make an app that runs your app and sends those keys....
I would use batch file of some sort in your startup folder that opens your GPS and then sends the keyboard strokes you want using windows scripting host.
Here's an example using your current Internet Explorer window (if that's what you're using to browse this forumCode:Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "<path to your gps program .exe>" WshShell.AppActivate "<the name of your gps program as it reads in the title bar>" WshShell.SendKeys "%G" Wscript.Sleep 2500 WshShell.SendKeys "%G"Copy the next set of code into a notepad and save it as test.vbs somewhere on your hard drive. Then just double click it. Note, IE has to be open and not minimized.
Code:Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.AppActivate "Microsoft Internet Explorer" WshShell.SendKeys "%D" WshShell.SendKeys "Hello World. See me dork with the window" WScript.Sleep 3000 WshShell.SendKeys "{F11}" Wscript.Sleep 1000 WshShell.SendKeys "{F11}" WshShell.SendKeys "{ESC}" WshShell.SendKeys "%D" WshShell.SendKeys "I am done for now" Wscript.Sleep 3000 WshShell.SendKeys "{ESC}"
Bookmarks