GSAK (Geocaching Swiss Army Knife)
 

Contents - Index


GPSInfo (function)

GPSInfo(sOptions) : string

This function was mainly introduced for macro authors that are supporting the Colorado/Oregon models, but can also be used to determine the drive letter for Magellan eXplorist models. It will enable you to detect where the GPSr unit is connected and retrieve the Model description and software version. It has been optimized for speed and only interrogates removable drives. This function also includes special code so that it does not recognize or throw a Windows error for "ghost" drives (empty usb card reader drives for example) If this function does not find this file, or can not retrieve the required information, it will return an empty string.

sOptions (Case Insensitive)

GarminPath - The fully qualified path to the GarminDevice.xml file
GarminModel - The model description
GarminVersion - The model software version
GarminDrive - The single drive letter of the corresponding mass storage device, also known as removable drive ( eg g: )
ExploristDrive - The single drive letter of the removable drive (eg g:)
DelormeDrive - The single drive letter of the corresponding GPSr internal drive, also known as removable drive ( eg g: ). The GPSr must be set to "Open internal drive" mode for this to work.
DelormeSdCard - The single drive letter of the corresponding GPSr SD card. The GPSr must be set to "Open SD Card" mode for this to work.
DelormeMode - Indicates the "mode" of the GPSr when connected. This can be  "Internal" or "SD Card", or "" (empty string) if the GPSr is not connected. 
 

Other options can be added as required

Alpha List         Category List
Copyright 2004-2011 CWE Computer Services  
Privacy Policy Contact