I´m in trouble with the following Code:
Code: Select all
Gui, Garmin:New
Gui, Font, s14, Verdana
Gui, Add, Button, x15 y10 w500, GPX und Listen löschen
Gui, Add, Button, x15 y55 w500, alle GPX auf Garmin verschieben
Gui, Add, Button, x15 y100 w500, aktuellen Track vom Garmin sichern
Gui, Add, Progress, x15 h20 w500 cBlue vMyProgress, 100
Gui, Add, Text, x15 y185, Status:
Gui, Font, s10, Verdana
Gui, Add, Edit, x90 y185 w425 r1 vMyEdit ,
Gui, Add, Button,, Test
Gui, Show,, Garmin
SetTimer, GarminConnected, 200
return
ButtonTest:
msgbox Test
return
GarminConnected:
Gui, Garmin:Default
If FileExist("G:\") {
GuiControl,, MyEdit, Garmin ist verbunden
} else {
GuiControl,, MyEdit, Garmin ist nicht verbunden, bitte warten...
}
return
Looking forward for your answers
Regards
Andreas