QUOTE (lignumaqua @ September 17, 2013 03:08 pm) |
Or, simpler, just do what Mtn suggests and embed the AddChildNote.gsk code within your macro directly. |
Thanks to Mtn - he built me this nice version of the UserExportAddToFirstLog.gsk:
CODE |
$GCV_Average = CustomGet("GCV_AverageVote") $GCV_VoteCount = CustomGet("GCV_VoteCount") $_Special = $_Special + "Status: $d_Status" + "<br />" + "Favoritenpunkte: $d_FavPoints" + "<br />" + "GCVote: $GCV_Average" + "<br />" + "Bewertungen: $GCV_VoteCount" + "<br />" + "Landkreis: $d_County" + "<br />" + "Bundesland: $d_State" + "<br />" + "Höhe: $d_Elevation m" + "<br />" + "GPX vom: " + DateFormat($d_LastGPXDate) + "<br />" + "Cache gelegt: " + DateFormat($d_PlacedDate) + "<br />" + "Zuletzt gefunden: $d_LastFoundDate" + "<br />" + "Gefunden am: $d_FoundByMeDate" + "<br />" + "korrig. Koord.: $d_HasCorrected" + "<br />" + "<br />" + "Note: " + "<br />" + "$d_GcNote" + "<br />---<br />Wegpunkte:<br />" TABLE Active=Waypoints Scope=Parent While NOT ($_EOL) $Data = $d_cLat + " " + $d_cLon $Coordinates=GCalc($Data, "FormatMinutes") $Coordinates=Replace(";"," ", $Coordinates, TRUE) $_Special=$_Special + "<br />" + $d_cPrefix + " - " + $d_cType + "<br />" + $d_cName + "<br />" + $Coordinates + "<br />" + "Kommentar: " + $d_cComment + "<br />" + "<br />" GOTO Position=Next ENDWHILE TABLE Active=caches |
This creates the first log like this:
QUOTE |
Status: A Favoritenpunkte: 0 GCVote: 2.4 Bewertungen: 30 Landkreis: Braunschweig Bundesland: Niedersachsen Höhe: 75 m GPX vom: 21.09.2013 Cache gelegt: 23.10.2011 Zuletzt gefunden: 20.09.2013 Gefunden am: 31.10.2011 korrig. Koord.: False Note: --- Wegpunkte: PR - Parking Area Der Parkplatz vor der Tür N 52° 15.024 E 10° 30.779 Kommentar: |
