Click to See Complete Forum and Search --> : Automating GPSProxy with Mortrunner


JMckie
07-21-2005, 06:47 AM
Using the Garmin Que application with a standard NMEA GPS receiver requires the user to start up a number of applications, some required and some optional. Starting it up is quite an elaborate process, requiring a large number of screen taps. I have been looking for a way to automate this process with the freeware utility Mortrunner. Mortrunner is a batch utility for PPC, allowing the scripting of tasks like starting applications and simulating pen taps and button presses.

Mortrunner home page (http://www.sto-helit.de/index.html)

After installing Mortrunner, edit and save the following script in a file called "gps.mortrun" in your "My Documents" folder. Change the script to reflect the location of the apps on your PPC. Then create a shortcut for gps.mortrun on your favourite launcher.


#File gps.mortrun

#GPS Mortrunner script ver 1.0

Run \Windows\BTConnManagerCE.exe

Run "\Built-in Storage\Franson GpsGate\GpsGateCE.EXE"

Run "\Built-in Storage\GPSProxy\GPSProxy.exe"

Run "\SD Card\Garmin Que\GarminQue.exe"

Run "\Smallmenus\Settings\ctlPower.lnk"


This script will:
1. Start the Bluetooth manager. (When the script is complete, I would also automate the connection to the BT GPS device by simulating a tap-and-hold, then tap on connect)

2. Start GPSGate

3. Start GPSProxy (Later tap on Tools | Start could be automated as well)

4. Start GarminQue (Later tap to automatically get rid of the legal screen)

5) ctlPower.lnk is a shortcut I create to bring up the Power Settings. In handheld mode I disable the checkbox to "turn off device if not used for x minutes"