I think this is what I am doing wrong. Guessing i should be adding more then just GE_START to the code part of the button. I am opening up the skin and choosing the IGuidance button and changing the box that has Code next to it.
also where can I find this test skin?
I need to load a specific .kml file.
How can i do that with RRearth6 ?
if you load your .kml file into GE6 outside RR you have the option to save it to your list so anytime you re-open GE6 (including inside RR) it should already be loaded.
Ride Runner RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
I have found a solution with vb6
I have added into the gpsexec.dll and that run very well !Code:'Exemple de chargement de données KML dans googleEarth Private Function Loadkml() Dim GEI As ApplicationGE Dim Fichier As String Set GEI = CreateObject("GoogleEarth.ApplicationGE") 'Attente que GoogleEarth soit initialisé While (GEI.IsInitialized = 0) DoEvents Wend Fichier = App.Path & "\Google.kml" Call GEI.OpenKmlFile(Fichier, 1) ' 1= pas de message dans GoogleEarth si le fichier n'existe pas par exemple End Function
It is possible to add this option into the rrearth.dll ?
I try to launch Google Earth without it's plugin .
So i try this command but without success:
Do you think that it's not possible or my command is bad ?Code:"LOAD;RREARTH.SKIN||RUN;$PLUGINSPATH$GPSExec\Google.kml;Google Earth"
Well you are not running a program, you are trying to run a file and hoping that it gets opened by the program which is associated to it. Now that may work in explorer by clicking on it, but don't think RR will open a file by association.
IOW put the path to the google earth exe and then have the KML file as a command line parameter.
What Enforcer said should work... something like:
PHP Code:"GE_START||RUN;C:\Program Files\Google\Google Earth\client\googleearth.exe|$PLUGINSPATH$GPSExec\Google.kml"
Ride Runner RR's Myspace
"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
Thanks Enforcer and Guino,
It's exactly that i found yesterday and tried into a plugin with a certain succes .
Code:Case "ini2kml" 'visualisation dans GoogleEarth If ExistFile(App.Path & "\google.kml") Then If RRSDK.GetInd("pluginmgr;status;rrearth") = "True" Then CMD = "SETVAR;TRAPSTERINFO;Google Earth Is launched !||load;Gpsexec_GE.skin||run;" & Environ$("ProgramFiles") & "\Google\Google Earth\client\googleearth.exe|$PLUGINSPATH$GPSExec\Google.kml;Google Earth" ProcessCommand = 3 Else CMD = "SETVAR;TRAPSTERINFO;GooleEarth Plugin is not found !" ProcessCommand = 3 End If Else Shell (App.Path & "/ini2kml.exe") CMD = "SETVAR;TRAPSTERINFO;Kml conversion is running !" ProcessCommand = 2 End If![]()
Bookmarks