Quantcast
Channel: GSAK Forum
Viewing all 75421 articles
Browse latest View live

invalid argument to date encode by Kai Team - 2016-02-14

$
0
0
Following on, I noticed that a new version of Geoprinter was released on January 14, 2016. Is this the first time you've used it since then? If so, I'd recommend you contact the authors of Geoprinter through their support page to see if this changed.

CopyFromDropbox.gsk fails with Patch 62/63 by sbeelis - 2016-02-14

$
0
0
Could the key be that you are opening GSAK not by itself but by double clicking on a GPX file which will cause GSAK to start and try to load the GPX file but since you also have an autostart macro, there are two actions that need to be executed right after starting, they might get into each other's hair.

Pure speculation, but that is what stood out for me when reading your latest description.

eigene Log-Texte übersetzen by Buddi - 2016-02-14

$
0
0
QUOTE (HHL @ February 14, 2016 10:36 pm)
Das geht ungefähr so:

user posted image

Makro-Schnipsel:

GSK
IF seek($_PublishCode)
 $result = sqlite("open","$_AppData\gsak.db3")
 $result = sqlite("sql","select pText from PublishLogs where rowid = $_PublishId1","SqlGet=Yes")
 $data = sqlGet("pText")

Pause Msg="$data"
 SqlGetClose
ENDIF


Frohes Coden
Hans

ja danke, es war noch etwas rumprobieren aber dann klappte es.

Für die, die es interessiert der sehr, sehr flach gehaltene Code

#*******************************************
# MacVersion = 0.4
# MacDescription = Translate Logs DE-ENG, reichlich kopiert aus TranslateCaches.gsk
# MacAuthor = D-Buddi
# MacFileName = TranslateLoginEnglisch.gsk
# MacUrl =

GoTo Position=Top
transaction action=begin
$Htmlfilepath = $_AppData + "\html"
$HTMLFile= $Htmlfilepath + "\translation.html"

#while not($_EOL)
$result = sqlite("open","$_AppData\gsak.db3")
$result = sqlite("sql","select pText from PublishLogs where pCode = '$d_Code'","SqlGet=Yes")
$sourcetext = sqlGet("pText")
SqlGetClose

$toTranslate = $sourcetext
$toTranslate = Replace($_Quote,"%22",$toTranslate)
$toTranslate = Replace(" ","+",$toTranslate)
$toTranslate = Replace("!","%21",$toTranslate)
$toTranslate = Replace("#","%23",$toTranslate)
$toTranslate = Replace("$","%24",$toTranslate)
$toTranslate = Replace("&","%26",$toTranslate)
$toTranslate = Replace("'","%27",$toTranslate)
$toTranslate = Replace("(","%28",$toTranslate)
$toTranslate = Replace(")","%29",$toTranslate)
$toTranslate = Replace("*","%2A",$toTranslate)
$toTranslate = Replace("=","%3D",$toTranslate)
$toTranslate = Replace("?","%3F",$toTranslate)
$toTranslate = Replace("@","%40",$toTranslate)
$toTranslate = Replace("<","%3C",$toTranslate)
$toTranslate = Replace(">","%3E",$toTranslate)
$url = "http://translate.google.com/translate_a/t"
$PostData = "client=j&hl=en&sl=auto&tl=en&text=" + $toTranslate
GOSUB name=PostHTML
$text = GetFile($HTMLFile)
$text = UTF8($text,"d")
$text = Substr($text,3,len($text)-9)
$text = Replace("\r\n",$_NewLine,$text)

$sourcetext = $sourcetext + $_NewLine + $_NewLine + $text

$result = sqlite("open","$_AppData\gsak.db3")
$result = sqlite("sql","update PublishLogs SET pText = '$sourcetext' where pCode = '$d_Code'","SqlGet=Yes")
SqlGetClose


# goto position=next
#endwhile
transaction action=end

BEGINSUB Name=PostHTML
SHOWSTATUS msg="Getting online HTML file, please wait..." Width=350
$VBSFile = Quote($Htmlfilepath + "\PostHTML.vbs")
$Arguments = " " + Quote($URL) + " " + Quote($Postdata) + " " + Quote($HTMLFile)
$result = $VBSFile + $Arguments
RUNPGM pgm=$VBSFile parms=$Arguments wait=yes
SHOWSTATUS Msg="Done" Display=on
ENDSUB



invalid argument to date encode by Lil Devil - 2016-02-14

$
0
0
I'll bet GeoPrinter is passing the date format directly from geocaching.com. For immediate relief, go to your Settings page, click on "Preferences" on the left, and then change the "Date Format" to the last option in the list, then Save Changes.

For a more permanent fix, I also recommend you contact the authors of Geoprinter.

Ignore list same as permanent delete list? by Gill & Tony - 2016-02-14

$
0
0
I've been running the DeleteIgnoreIgnore macro for some months without any problems. Today I changed one of my filters to add a condition Custom > Target = false. In other words, I have a binary custom field named "Target" and the new version of the filter displays only those caches which meet the other criteria but have Target=false.

When I run the macro against this filter i get an error:

Error in Macro at Line: 117
$GSAKOnlyCodesList= Sqlite("sql",$_sql,"")

Error=> SQLite3 Error 1 - No such column: Target.

It looks like my custom field is causing a problem somehow.

I tried to post this in the support thread for the macro, but that led me to a thread which is read-only.

Thanks

Tony

Ignore list same as permanent delete list? by Kai Team - 2016-02-14

$
0
0
The support thread for the macro is not read only - the Macro Library thread is read only, but it provides a link to the read/write support thread. I will merge this into that latter thread.

This is an old macro and probably does not respect a filter set on custom fields. For a short term workaround, clear all user flags, set your filter, press Shift-F6 to set the user flags for the filter, then press F8 to filter on the user flags. The macro should run fine on a user flag based filter.

I'll also add it "to the list" to look at updating the filtering. smile.gif

problems with Publish Logs by ham fam - 2016-02-14

Ignore list same as permanent delete list? by Gill & Tony - 2016-02-14

$
0
0
Thanks for that. Your work-around works perfectly

Cheers

Tony

DeLorme and Quad Challenge support thread by WStemple - 2016-02-14

$
0
0
GC2C21G is the new Wisconsin Delorme Challenge. The one you have in the macro was archived. Can this one be added to the code. This one uses the 10th edition.

DeLorme and Quad Challenge support thread by hynr - 2016-02-14

$
0
0
QUOTE (WStemple @ February 14, 2016 08:59 pm)
GC2C21G is the new Wisconsin Delorme Challenge. The one you have in the macro was archived. Can this one be added to the code.  This one uses the 10th edition.

I would need the polygons for the 10th edition. Any suggestions?

CopyFromDropbox.gsk fails with Patch 62/63 by FILD - 2016-02-15

$
0
0
Thats what I think too, now.

So it seems not to be a question or problem of the macro but how GSAK handles this.

And I often loaded GPX-files this way before, but the error started with the update patch 62/63

Eine Datenbank automatisiert Bookmarken by Cyber1805 - 2016-02-15

$
0
0
Hallo,
ich will im verlaufe eines Makros eine Datenbank mit gelösten Mysterys auf Geocaching.com in einer
Bookmark-Liste hinterlegen.
Es gibt ja das Bookmark Filter Makro, aber ich sehe mich nicht in der Lage dieses für meine Zwecke
umzuschreiben.
Kann mir da jemand helfen?

Macro command for "add caches to bookmark" by sbeelis - 2016-02-15

$
0
0
In this thread in the German speaking subforum, somebody was asking about a way to add caches from the DB to a bookmark list on gc.com in a macro.

I was going to recommend he use the macro command for "geocaching.com access->Add to bookmark list...". However, when checking, I could not find the corresponding macro command in the help file.

Is this just an ommission in the help file, or is there not currently a macro command that does the same as the menu entry?

Eine Datenbank automatisiert Bookmarken by sbeelis - 2016-02-15

$
0
0
QUOTE (Cyber1805 @ February 15, 2016 11:28 am)
Hallo,
ich will im verlaufe eines Makros eine Datenbank mit gelösten Mysterys auf Geocaching.com in einer
Bookmark-Liste hinterlegen.
Es gibt ja das Bookmark Filter Makro, aber ich sehe mich nicht in der Lage dieses für meine Zwecke
umzuschreiben.
Kann mir da jemand helfen?

Das Bookmark-Filter macht meines Wissens das umgekehrte, es filtert Deine DB aufgrund einer Liste auf gc.com.

Es gibt einen Menu-Eintrag, um Caches aus der DB in eine Bookmark Liste hochzuladen ("geocaching.com access->Add to bookmark list..."). Allerdings finde ich den zugehörigen Befehl nicht in der Makro-Hilfe, es scheint also so zu sein, dass diese Funktionalität nicht als Makro-Kommando angeboten wird (oder aber ich bin zu blöd, es in der Hilfe zu finden).

Ich habe hier mal nachgefragt, ob es dieses Macro-command gibt.

Macro command for "add caches to bookmark" by sloth96 - 2016-02-15

$
0
0
There is a macro that handles it. I don't remember the name and am away from my machine.

Eine Datenbank automatisiert Bookmarken by HHL - 2016-02-15

$
0
0
[correction]: Es ist noch zu früh. wacko.gif
Ich hatte irgendwie nur die Hälfte gelesen. Sorry. wub.gif

Hans

Macro command for "add caches to bookmark" by sbeelis - 2016-02-15

$
0
0
QUOTE (sloth96 @ February 15, 2016 01:01 pm)
There is a macro that handles it. I don't remember the name and am away from my machine.

I know there is a macro that filters the DB using a bookmark list. I hadn't realised there was a macro to go the other way..

Checking the master index I see that there are two macros:
BookMarkFilter (probably the one you are talking about)
FilterFromBookmarklist (the one I was aware of)

Thanks for pointing that out to me.

Eine Datenbank automatisiert Bookmarken by sbeelis - 2016-02-15

$
0
0
QUOTE (sbeelis @ February 15, 2016 11:44 am)
Ich habe hier mal nachgefragt, ob es dieses Macro-command gibt.

Offenbar gibt es zwei Makros, wovon ich nur eines kannte.

BookMarkFilter (macht genau, was Du willst, Du hast also das richtige Makro erwähnt)
FilterFromBookmarklist (dies war das Makro, an das ich dachte, welches genau das umgekehrte von dem macht, was Du willst)

Du kannst aus einem Makro auch ein anderes Makro aufrufen (lies in der Macro-Hilfe mal was dort zum MACRO Befehl steht).

In diesem Post ist beschrieben, wie Du das Makro aus einem anderen Makro aufrufen kannst.

Edit: Korrektur wegen automatischem Aufruf aus anderem Makro

DeLorme and Quad Challenge support thread by WStemple - 2016-02-15

$
0
0
QUOTE (hynr @ February 15, 2016 01:00 pm)
QUOTE (WStemple @ February 14, 2016 08:59 pm)
GC2C21G is the new Wisconsin Delorme Challenge. The one you have in the macro was archived. Can this one be added to the code.  This one uses the 10th edition.

I would need the polygons for the 10th edition. Any suggestions?

I know you need them, but where would they be. I do not have the book, nor do I have any idea how to create them. With some better information, I might be able to ask the cache owner if he can help.

Macro command for "add caches to bookmark" by Kai Team - 2016-02-15

$
0
0
Just to answer the original queastion for those reading this thread, GSAK allows use of any geocaching.com API call in a macro via the GcApi() function. In this case the API call is "AddGeocachesToBookmarkList", which is what the BookMarkFilter macro uses. wink.gif
Viewing all 75421 articles
Browse latest View live


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