Quantcast
Channel: GSAK Forum
Viewing all articles
Browse latest Browse all 75101

Verwendung von FileExists by The CEO - 2013-08-09

$
0
0
QUOTE (Cyber1805 @ August 09, 2013 05:32 pm)
Wie verwende ich diesen Befehl "FileExists( sPathString ) : boolean"
Will damit überprüfen ob auf dem Garmin gefundene Dosen vorhanden sind. Pfad zur Datei wäre: G:\Garmin\geocache_visits.txt
Habe vor das mit dem Befehl publish logs zu verknüpfen

Mein Macro würde dann so aussehen:
If FileExists( G:\Garmin\geocache_visits.txt ) : boolean
GcPublishFetch Type=GPS Settings=Publish
Else
Endif

Du bist fast dran.
Der einzige Fehler ist: Das commando ist FileExists( sPathString ) : boolean
sPathString started with s, also ein String.
: boolean heist: es kommt einen TRUE oder FALSE raus.

Also muss dass sein:
GSK
If FileExists( "G:\Garmin\geocache_visits.txt")
GcPublishFetch Type=GPS Settings=Publish
Else
Endif

Viewing all articles
Browse latest Browse all 75101

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>