AW: Garmin für WinCE ab 4.2
Hello rpul,
In English it`s ok,
Yes, i think so too,the "
Garmin.mscr" is the Problem.
my "
Garmin.mscr" for the BlueMedia PNA
PHP:
Errorlevel("warn")
If(WndExists("Garmin Mobile XT"))
Show("Garmin Mobile XT")
Exit
EndIf
#Hide Taskbar
Run(SystemPath("ScriptPath")\"TaskbarHide.exe")
#Registry for Port Splitter
RegWriteString( "HKLM", "SOFTWARE\JAL\Port Splitter", "InstallPath", SystemPath("ScriptPath") )
RegWriteDWord( "HKLM", "SOFTWARE\JAL\Port Splitter", "MajorVersion", 1 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Split", 2 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Autostart", 1 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Baud", 5 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Port", 2 )
#Run Port Splitter if not exists
If(not ProcExists("Port Splitter.exe"))
Run(SystemPath("ScriptPath")\"Port Splitter.exe")
Sleep(500)
EndIf
#Copy previous stored settings to \Garmin
XCopy(SystemPath("ScriptPath")\"Settings\*.*", "\Garmin", TRUE)
#Run Garmin Mobile XT.
#This script will not go to the next command before que.exe completely shut down
RunWait(SystemPath("ScriptPath")\"..\Apps\WM\que.exe")
#Save new settings back to SD Card
XCopy("\Garmin\*.*", SystemPath("ScriptPath")\"Settings", TRUE)
#Stop Port Splitter before killing it
#If the port splitting are not stopped before killing the process,
#it will not work again even you run Port Splitter again without soft reset
If(WndExists("Port Splitter V1.20"))
#Stop button
SendCommand("Port Splitter V1.20", 1010)
Sleep(500)
#Exit button
SendCommand("Port Splitter V1.20", 2)
Sleep(500)
EndIf
#Kill Port Splitter process
If(ProcExists("Port Splitter.exe"))
Kill("Port Splitter.exe")
EndIf
#Clean all registry for Port Splitter
RegDeleteKey( "HKLM", "SOFTWARE\JAL", TRUE, TRUE )
RegDeleteKey( "HKCU", "Software\JAL", TRUE, TRUE )
#Show Taskbar
Run(SystemPath("ScriptPath")\"TaskbarShow.exe")
I have also change the Port and Baudrate in der Registry for the Portsplittrer:
look like this:
#Registry for Port Splitter
RegWriteString( "HKLM", "SOFTWARE\JAL\Port Splitter", "InstallPath", SystemPath("ScriptPath") )
RegWriteDWord( "HKLM", "SOFTWARE\JAL\Port Splitter", "MajorVersion", 1 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Split", 2 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Autostart", 1 )
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Baud", 5 )
<<<<<
RegWriteDWord( "HKCU", "Software\JAL\Port Splitter", "Port", 2 )
<<<<<
For example:
baud 5 .............Baudrate 4800
baud 6...........................9600
baud 7...........................14400
baud 8.......................... 19200
baud 11.........................57600
and the Port for PNA........Com2 or another Com
but i have no GPS Signal
Thanks rpul for this Info.
I temporarily installed
Navigon, no Problems with GPS, because the PNA was used in of a Friend.
If I did it again the PNA,i will testet.
many greetings
querk