Jump to content

Gsak (geocaching Swiss Army Knife)


ClydeE

Recommended Posts

I've noticed a strange thing with GSAK 6.0, it might have been there in earlier versions too, but I don't think so.

 

When uploading waypoints to GPSr, (Garmin Etrex Legend or Garmin GPS II+),

special characters like + -_ are removed.

So GCX123-T becomes GCX123T in the GPSr.

Also at least when uploading to the Legend one of the waypoint symbols is wrong.

I've selected "Geocache", "Geocache found", "Residence" and "Cemetery" in the GPS setup, but unavailable caches get the default waypoint symbol instead of the cemetary.

 

My workaround is instead of uploading waypoints from GSAK I export the waypoints to Oziexplorer and upload to the GPSr from Ozi.

Then all the characters and symbols are uploaded correctly.

 

Any ideas ?

 

 

Hmm, I haven't had any other reports of the Cemetery icon not showing up on the Legend - anyone else with a legend can confirm this?

 

For the reason why the - (hyphen) not going down to your GPSr please see this post

Go back into Change Waypoint Icon/Symbol and reselect the archived icon. You will find it points to blank. Select the Cemeteary Icon and it will work fine from then on.

 

Tom WU8C

Link to comment
I've noticed a strange thing with GSAK 6.0, it might have been there in earlier versions too, but I don't think so.

 

Hmm, I haven't had any other reports of the Cemetery icon not showing up on the Legend - anyone else with a legend can confirm this?

 

For the reason why the - (hyphen) not going down to your GPSr please see this post

Go back into Change Waypoint Icon/Symbol and reselect the archived icon. You will find it points to blank. Select the Cemeteary Icon and it will work fine from then on.

 

Tom WU8C

Thanks Clyde and Tom, I have given up my fruitless attempts to get the hyphen into my GPSr and the symbols are now the correct ones.

 

/Anders

Link to comment

Another issue I discovered:

I am using Mapsource 6.7. When exporting a Mapsource file using the .MPS filetype, it sets the Waypoint Proximity Unknown box. When saving a .GDB filetype it un-checks the Proximity Unknown box. With this box unchecked. it forces an update of the Proximity section of the GPS. This is a problem when sending to a Street Pilot III in that it does not accept this command. On the GPSMap 60CS it runs out of Proximity memory. Type .MPS files work OK whereas the .GDB files create errors. Any workaround (Macro?) to ensure the Proximity Unknown remains unchecked?

 

Tom (WU8C)

Link to comment

Another issue:

When exporting to Mapsource, if using the Danger Icon for Archived, it sends the Marine symbol, Box with a diamond inside to Mapsource instead. I tried this on the Not Found with the same results. A FYI.

 

Tom (WU8C)

Link to comment

Here's a couple quick interface suggestions:

 

In alot of software I've used, when something's double-clicked on, the program usually goes to a dialog for editing what's been double-clicked on. Perhaps you could add an option in the Tools|Options screen to control what happens when a waypoint is double-clicked on. The possibilities might include:

 

Go To Offline Waypoint file (like GSAK currently does)

Go to Geocaching.com page for waypoint

**Edit Waypoint Data**

Send Waypoint To GPS

 

Also, in many windows programs if a person selects a cell in a table, waits a second or two, then clicks on it again, the user can edit what's in the cell. In programs like Excel, the F2 button allows a person to edit what's in a cell. In fact, F2 is the keyboard shortcut for renaming things in Windows itself (click on something on your desktop, then press F2 to see it in action).

 

-John

Link to comment
Here's a couple quick interface suggestions:

 

In alot of software I've used, when something's double-clicked on, the program usually goes to a dialog for editing what's been double-clicked on.  Perhaps you could add an option in the Tools|Options screen to control what happens when a waypoint is double-clicked on.  The possibilities might include:

 

Go To Offline Waypoint file (like GSAK currently does)

Go to Geocaching.com page for waypoint

**Edit Waypoint Data**

Send Waypoint To GPS

Look at Tools/Options/General Tab - the first thing in the upper right side says "Default Action When You Double Click on A Waypoint Name". The choices are:


  •  
  • Show OziMap
     
  • Show offline browser view
     
  • Show online browser view
     
  • Set as Centre Point
     
  • Change/Edit Waypoint
     
  • Add Cache to Watch List
     
  • Geocaching.com
     
  • Google Maps
     
  • Google Satellite
     
  • MapQuest
     
  • TopoZone
     
  • Microsoft MapPoint
     
  • Microsoft TerraServer
     
  • Benchmark
     
  • MutilMap (zoom in)
     
  • MutiMap (zoom out)
     
  • Log Cache
     

I believe you're asking for the "Change/Edit Waypoint" option, which is already there, along with a whole lot more (Isn't Clyde great! :rolleyes:).

 

Also, in many windows programs if a person selects a cell in a table, waits a second or two, then clicks on it again, the user can edit what's in the cell.  In programs like Excel, the F2 button allows a person to edit what's in a cell.  In fact, F2 is the keyboard shortcut for renaming things in Windows itself (click on something on your desktop, then press F2 to see it in action).

-John

You can do that for certain cells in GSAK (e.g. try clicking on user data, or user sort, then click again a moment later and you can enter appropriate information). Other cells are not editable in that way for good reason (e.g. they're calculated by the program).

 

Give Clyde a break and spend some time with GSAK, and read the help files, before suggesting new features - you'll discover that Clyde has built in many, many features (and where he hasn't, there's usually a good reason for it)! At least look at the Options screen before suggesting an option that's right there at the top of the screen! :D

 

Edit: And remember that the right-click is your friend - right clicking on a waypoint offers a handy context menu, which includes "Send to GPSr Now", per your other suggestion above.

Edited by Kai Team
Link to comment

Hello Clyde

 

Thanks again for the program. I really love it.

I would like to know if there is a way to import the information from my Palm (Using CacheMate) back into GSAK? The export feature in GSAK works great to convert the file into CacheMate format! The file goes right into CacheMate when I sync, but how do I get the info about the caches I found back into GSAK? I saw the import option on the menu, but it wants a GPX file and the CacheMate file is not in that format. Is there a way to convert it back to GPX format? The only export feature I found from CacheMate is export notes.

 

I know that CacheMate is not your program, but I would appreciate any knowledge you have to help me out concerning the interface between the two.

Edited by MamaMouse
Link to comment
Another issue I discovered:

I am using Mapsource 6.7. When exporting a Mapsource file using the .MPS filetype, it sets the Waypoint Proximity Unknown box. When saving a .GDB filetype it un-checks the Proximity Unknown box. With this box unchecked. it forces an update of the Proximity section of the GPS. This is a problem when sending to a Street Pilot III in that it does not accept this command. On the GPSMap 60CS it runs out of Proximity memory. Type .MPS files work OK whereas the .GDB files create errors. Any workaround (Macro?) to ensure the Proximity Unknown remains unchecked?

 

Tom (WU8C)

No.

 

The GDB format is a relatively new format just supported by GPSBabel.

 

The format has been a long time coming and nearly didn't make it (for the reasons why see this post

 

The biggest problem is that this format is not documented by Garmin (it is a proprietary format) so it has to be reverse engineered from the binary file - this can be hit and miss sometimes.

 

I'll pass this on the the Babel guys and see what they can make of it.

Link to comment
Hello Clyde

 

Thanks again for the program.  I really love it. 

I would like to know if there is a way to import the information from my Palm (Using CacheMate) back into GSAK?  The export feature in GSAK works great to convert the file into CacheMate format!  The file goes right into CacheMate when I sync, but how do I get the info about the caches I found back into GSAK?  I saw the import option on the menu, but it wants a GPX file and the CacheMate file is not in that format.  Is there a way to convert it back to GPX format?  The only export feature I found from CacheMate is export notes. 

 

I know that CacheMate is not your program, but I would appreciate any knowledge you have to help me out concerning the interface between the two.

There's a macro that takes care of the whole process for you, using the Cachemate back up files that are created when you HotSync your PDA after you've written the notes. See GSAK Macros. It's the third one on the list.

 

Macros are powerful but can seem complex if you've never used one before. For more information about understanding and using macros, see Contents>Using GSAK> Automating GSAK in the help file, or here online.

Link to comment
I would like to know if there is a way to import the information from my Palm (Using CacheMate) back into GSAK? 

To do this, you need to use the program CM2GPX which either came wth your Cachemate software or is available on the Smittyware site.

 

Once you have the program, put it in the Palm directory that holds the backup data for your username. Mine is found in a directory that looks like this:

 

c:\program files\palm\RobertT\Backup\

 

Then, to make the conversion, I execute the following commands which I have in a .BAT file

 

cd c:\program files\palm\RobertT\Backup\

cm2gpx -f -o Default-Out.gpx -z DefaultItems-cmat.PDB

pause

 

After this is done, I use the option in GSAK for Load Cachemate Logs and finds.

 

That should do it.

 

FYI, in the batch program the -f option specifies that only caches marked found in Cachemate will be processed. Also, the "pause" command on the final line will keep the batch file screen open for you so you can see whether there were any processing errors, typically "file not found errors." You may need to adjust the filenames to match your system.

 

-o is the Output fielname (the file that GSAK will eventually import)

-z is the Input filename (the cachemate backup)

 

Once you have everything working smoothly, you can eliminate the pause.

 

HTH.

Edited by RubberToes
Link to comment
Another issue:

When exporting to Mapsource, if using the Danger Icon for Archived, it sends the Marine symbol, Box with a diamond inside to Mapsource instead. I tried this on the Not Found with the same results. A FYI.

 

GSAK uses GPSBabel for the conversion to MapSource MPS file (another undocumented proprietary format from Garmin).

 

In order to track this down I need to know if this is a GSAK or GPSBabel issue.

 

I don't have MapSource, so could someone else with the skills run this conversion using GPSBabel outside of GSAK and confirm that it does or doesn't work doing this.

 

Easiest way to to this is just generate a GPX file with a single waypoint in it (you can use GSAK to do this)

 

Now open the GPX file in your favourite text editor and change the <sym> element to "Danger Area" (without the quotes)

 

Now use GPSBabel to do the conversion to MapSource - sample syntax:

 

gpsbabel -N -i gpx -f bugtest.gpx -o mapsource,mpsverout=5 -F "c:\temp\test.mps"

 

Now load the test file into MapSource and confirm the results

Link to comment

Just noticed in a posting that you can load directly to your palm from GSAK, and also if you can , when I do my hotsync, will the caches transfer exactly as the file looks in gsak, I would like to know this proceedure. Also one more inquiry, when my caches are all loaded into my palm, and the caches appear on the palm screen, at the bottom where is says "sort by: Name, Waypt..when I click on Waypt I do not get a waypt number ex:gcjddj, I just get more info about the cache. While I'm in the post I did have one question; When I use my legend, Find/waypt/name, i get all my caches listed. When I do a "Find/waypt/nearest, I get about 10-12 showing , was just wondering if this was normal. Under name caches they are all in Alfa..order, is there a way I can do the name cache listings also nearest. As you can see, I'm very inexperience..Thks. Hope this is not a bother, and appreciate you help.

Link to comment
Here's a couple quick interface suggestions:

 

In alot of software I've used, when something's double-clicked on, the program usually goes to a dialog for editing what's been double-clicked on.  Perhaps you could add an option in the Tools|Options screen to control what happens when a waypoint is double-clicked on.  The possibilities might include:

 

Go To Offline Waypoint file (like GSAK currently does)

Go to Geocaching.com page for waypoint

**Edit Waypoint Data**

Send Waypoint To GPS

Look at Tools/Options/General Tab - the first thing in the upper right side says "Default Action When You Double Click on A Waypoint Name". The choices are:


  •  
     
  • Show OziMap
     
     
  • Show offline browser view
     
     
  • Show online browser view
     
     
  • Set as Centre Point
     
     
  • Change/Edit Waypoint
     
     
  • Add Cache to Watch List
     
     
  • Geocaching.com
     
     
  • Google Maps
     
     
  • Google Satellite
     
     
  • MapQuest
     
     
  • TopoZone
     
     
  • Microsoft MapPoint
     
     
  • Microsoft TerraServer
     
     
  • Benchmark
     
     
  • MutilMap (zoom in)
     
     
  • MutiMap (zoom out)
     
     
  • Log Cache
     
     

I believe you're asking for the "Change/Edit Waypoint" option, which is already there, along with a whole lot more (Isn't Clyde great! :D).

 

Also, in many windows programs if a person selects a cell in a table, waits a second or two, then clicks on it again, the user can edit what's in the cell.  In programs like Excel, the F2 button allows a person to edit what's in a cell.  In fact, F2 is the keyboard shortcut for renaming things in Windows itself (click on something on your desktop, then press F2 to see it in action).

-John

You can do that for certain cells in GSAK (e.g. try clicking on user data, or user sort, then click again a moment later and you can enter appropriate information). Other cells are not editable in that way for good reason (e.g. they're calculated by the program).

 

Give Clyde a break and spend some time with GSAK, and read the help files, before suggesting new features - you'll discover that Clyde has built in many, many features (and where he hasn't, there's usually a good reason for it)! At least look at the Options screen before suggesting an option that's right there at the top of the screen! :rolleyes:

 

Edit: And remember that the right-click is your friend - right clicking on a waypoint offers a handy context menu, which includes "Send to GPSr Now", per your other suggestion above.

lol sorry for the (parially) useless post!

I wasn't expecting it to be the first option...so I didn't look there!!

Wow I feel dumb. Usually I'm real good about this stuff...I always search forums before asking etc. I couldn't find what I was looking for in the help docs.

As for the editable cells...I'm talking about things like the Name of waypoint, the Lat/Long, the Waypoint Code, the State, Cache container etc. You are right about the User fields...and that's what I'm looking for in the cells that are not created by GSAK (the ones I just mentioned). Thanks for pointing out my first error, though. I promise I won't suggest anything stupid anymore.

-John

Link to comment
Another issue:

When exporting to Mapsource, if using the Danger Icon for Archived, it sends the Marine symbol, Box with a diamond inside to Mapsource instead.  I tried this on the Not Found with the same results.  A FYI.

 

GSAK uses GPSBabel for the conversion to MapSource MPS file (another undocumented proprietary format from Garmin).

 

In order to track this down I need to know if this is a GSAK or GPSBabel issue.

 

I don't have MapSource, so could someone else with the skills run this conversion using GPSBabel outside of GSAK and confirm that it does or doesn't work doing this.

 

Easiest way to to this is just generate a GPX file with a single waypoint in it (you can use GSAK to do this)

 

Now open the GPX file in your favourite text editor and change the <sym> element to "Danger Area" (without the quotes)

 

Now use GPSBabel to do the conversion to MapSource - sample syntax:

 

gpsbabel -N -i gpx -f bugtest.gpx -o mapsource,mpsverout=5 -F "c:\temp\test.mps"

 

Now load the test file into MapSource and confirm the results

It appears that GPSBabel is the problem. I did it slightly different because when I followed your steps utilizing Notepad as the editor, it blew up GPSbable.

 

I took one record from within GSAK and set the Geocache symbol as Danger Area.

I then used GSAK export to output a GPX file.

I used EASYGPX to view it and there was a Danger Area symbol as the icon.

I then created a batch file for GPSBable with the parameters you specified utilizing the newly created GPX file.

Upon opening the new test.MPS file in Mapsource, the symbol was changed to a Box with Diamond inside.

 

I hope I did this correct.

 

Tom (WU8C)

Link to comment
It appears that GPSBabel is the problem.  I did it slightly different because when I followed your steps utilizing Notepad as the editor, it blew up GPSbable. 

 

I took one record from within GSAK and set the Geocache symbol as Danger Area.

I then used GSAK export to output a GPX file.

I used EASYGPX to view it and there was a Danger Area symbol as the icon.

I then created a batch file for GPSBable with the parameters you specified utilizing the newly created GPX file.

Upon opening the new test.MPS file in Mapsource, the symbol was changed to a Box with Diamond inside.

 

I hope I did this correct.

 

Tom (WU8C)

Hmm, after discussion this with Robert Lipe it would appear that this is the right symbol

 

The box with a diamond in it IS the icon

for Danger Area.  (No, I don't see the connection, but I'm not a

boater.)  See the first link at

 

http://groups.yahoo.com/group/Garmin_GPSma.../Documentation/

 

It's not like there is hover-over text on any of those symbols in

mapsource that actually tells us what "little fish looking thingy" is

actually called.  I think it IS doing the right thing and the user just

has a different interpretation of what "Danger Area" might be.

 

If you have an argument to the contrary, then I suggest the best course of action is to take it up with him directly.

Edited by ClydeE
Link to comment

I'm writing my first macro, and I can't get a simple command to work.

I have 4 years programming experience in C++ and about 3 years' worth of BASIC. So far, I'm enjoying GSAK code.

 

In the help file, the format for the "AT" function is AT(sSearchString, sTargetString) and it is supposed to return a 0 if sSearchString is not found in sTargetString. If sSearchString is found, the AT function should return the position of sSearchString in sTargetString. Whenever I use the AT function on any strings, I always get a 0 returned. Even when I use the example strings ("gh" and "defghij") which in the help file are supposed to give a return value of 4, I get zero.

 

Perhaps the problem is my computer or my installation of GSAK. Someone make a macro and put the following code in it, and tell me if you get a zero on the pause message too. The proper number would be 4 as the Help file states.

$s_test = AT("gh", "defghij")

pause msg=$s_test

 

As a note, I tried flipping the strings around (make the search the target and visa-versa), but that still made the function return zeros.

 

In my particular macro, I have about two workarounds in mind for my problem, one of which might actually run smoother and faster than my preferred method...

 

Once today I already missed something obvious....sorry if this is another obvious mistake.

 

BTW, the reason I'm using the AT function is to workaround the absence of a character-to-ascii-value function. Sounds silly, but those 3 years of using different versions of BASIC have taught me to think about (programming) things in very strange ways... All I could find in GSAK code is the ascii-to-character function called Chr()...

 

-John

Edited by Seared Ice
Link to comment
I'm writing my first macro, and I can't get a simple command to work.

I have 4 years programming experience in C++ and about 3 years' worth of BASIC.  So far, I'm enjoying GSAK code.

 

In the help file, the format for the "AT" function is AT(sSearchString, sTargetString) and it is supposed to return a 0 if sSearchString is not found in sTargetString.  If sSearchString is found, the AT function should return the position of sSearchString in sTargetString.  Whenever I use the AT function on any strings, I always get a 0 returned.  Even when I use the example strings ("gh" and "defghij") which in the help file are supposed to give a return value of 4, I get zero.

 

Perhaps the problem is my computer or my installation of GSAK.  Someone make a macro and put the following code in it, and tell me if you get a zero on the pause message too.  The proper number would be 4 as the Help file states.

$s_test = AT("gh", "defghij")

pause msg=$s_test

 

As a note, I tried flipping the strings around (make the search the target and visa-versa), but that still made the function return zeros.

 

In my particular macro, I have about two workarounds in mind for my problem, one of which might actually run smoother and faster than my preferred method...

 

Once today I already missed something obvious....sorry if this is another obvious mistake.

 

BTW, the reason I'm using the AT function is to workaround the absence of a character-to-ascii-value function.  Sounds silly, but those 3 years of using different versions of BASIC have taught me to think about (programming) things in very strange ways...  All I could find in GSAK code is the ascii-to-character function called Chr()...

 

-John

This is very weird.

 

I copy and pasted your exact code you posted and the message box displayed the expected answer of "4"

 

What version of GSAK are you running?

 

At the moment does your macro just have those 2 exact lines of code?

 

There must be something obvious we are both overlooking here but I can't for the life of me think what at the moment.

 

Can anyone else confirm this does/doesn't work for them

Edited by ClydeE
Link to comment

Originally I had those two lines as part of the larger macro I was writing.

 

I just made a new file with only those two lines, and GSAK is still giving me a 0.

 

The original file was being run from a macro button, the second I ran from the Macro menu, and then the Run option.

 

GSAK says it's running at version 6.0.0 in the title bar and in the Help|About dialog. It says it's build 45. I think I installed GSAK 6.0.0 right ontop of the previous version. (I didn't uninstall the old version first.) Maybe that's the problem...

 

I just tried closing and re-opening GSAK...still have the zero problem. As a note, it's 12:18 here...just got the nag screen for the first time lol.

 

Do you need any more info about how I'm running this?

Edited by Seared Ice
Link to comment
Originally I had those two lines as part of the larger macro I was writing.

 

I just made a new file with only those two lines, and GSAK is still giving me a 0.

 

The original file was being run from a macro button, the second I ran from the Macro menu, and then the Run option.

 

GSAK says it's running at version 6.0.0 in the title bar and in the Help|About dialog. It says it's build 45. I think I installed GSAK 6.0.0 right ontop of the previous version. (I didn't uninstall the old version first.) Maybe that's the problem...

 

I just tried closing and re-opening GSAK...still have the zero problem. As a note, it's 12:18 here...just got the nag screen for the first time lol.

 

Do you need any more info about how I'm running this?

I have tried the code on several computers here (and versions) and all works fine.

 

First try mixing the code up a bit, say

 

$x = at('"c","abcde")

pause msg=$x

 

Do you still get 0?

 

Perhas if you could email me the text file your are running (perhaps it has some strange characters in it) and I will see if I can then replicate the problem.

Link to comment
Originally I had those two lines as part of the larger macro I was writing.

 

I just made a new file with only those two lines, and GSAK is still giving me a 0.

 

The original file was being run from a macro button, the second I ran from the Macro menu, and then the Run option.

 

GSAK says it's running at version 6.0.0 in the title bar and in the Help|About dialog. It says it's build 45. I think I installed GSAK 6.0.0 right ontop of the previous version. (I didn't uninstall the old version first.) Maybe that's the problem...

 

I just tried closing and re-opening GSAK...still have the zero problem. As a note, it's 12:18 here...just got the nag screen for the first time lol.

 

Do you need any more info about how I'm running this?

Hold the bus.

 

Sorry about this, I should have looked at your build number more closely.

 

Build 45 was only up on the web site for a few hours, as it was discovered there was a critical bug in the RegExCount function (it is now apparent the same bug effects the AT function. The official release for version 6.0 should be Build 46

 

If you download GSAK again from http://gsak.net, install, then do Help=>About and make sure it shows build 46

 

Try again and we will keep our fingers crossed ;)

Link to comment

Woot! With build 46 it works!

 

Lol...I feel all special knowing I got one of the first buggy copies of the new release! GSAK60B45.exe is getting a special place on my computer...

 

Yay! Back to coding! Well...maybe bed...then coding in the morning...

 

Thanks for helping me out! Expect another $20 registration in your pocket REAL soon...

 

-John

Link to comment
Woot!  With build 46 it works!

 

Lol...I feel all special knowing I got one of the first buggy copies of the new release!  GSAK60B45.exe is getting a special place on my computer...

 

Yay! Back to coding!  Well...maybe bed...then coding in the morning...

 

Thanks for helping me out!  Expect another $20 registration in your pocket REAL soon...

 

-John

I don't expect a reply, as this is really just for information (for everybody)

 

I have a very dedicated and helpful team of beta testers.

 

They do a great job (for the love of it ;) ), but unfortunately the code base for GSAK is so large now that it is almost impossible to test every nook and cranny.

 

Many "issues" only then pop up when GSAK goes public and the code really starts to get a working over. (even then some bugs don't pop up until months down the track)

 

There is already some reported "issues" in this thread for version 6.0 and I have had a few reported by email (but yours is the only macro related issue). I don't like putting out a release after every bug found as most users get sick of the download/install merry go round.

 

However, after a major release like V6 I usually wait about a week then release the first maintenace update. This should be out very soon.

Edited by ClydeE
Link to comment

I installed version 3.x trial months ago and wanted to try the new version, so I downloaded the new version and uninstalled the old version. Then I installed the new version. When I execute the new version, the software goes into a loop. First screen that shows up is the nag window. After that counts down, I select OK to continue and it looks to be loading then the Exception Log window appears with the following: Invalid index edxpression [strzero(mulitcount,4,0) + strzero(recno(),5,0 ]. When I select either Restart or OK, the "Request for more information" window appears. After selecting OK there, I get the email prompt. If I select NO I'm back to the nag window.

 

I would like to try your program out with the new version and if satisfied I have all intentions to register. Is there any way to get around this loop?

 

I also submitted an error report via email.

Also note that if I try and close the nag screen, the program pops up an information window and then restarts after that window is closed. No way to exit loop without using Task Manager

 

Thanks,

Link to comment
I installed version 3.x trial months ago and wanted to try the new version, so I downloaded the new version and uninstalled the old version. Then I installed the new version. When I execute the new version, the software goes into a loop. First screen that shows up is the nag window. After that counts down, I select OK to continue and it looks to be loading then the Exception Log window appears with the following: Invalid index edxpression [strzero(mulitcount,4,0) + strzero(recno(),5,0 ]. When I select either Restart or OK, the "Request for more information" window appears. After selecting OK there, I get the email prompt. If I select NO I'm back to the nag window.

 

I would like to try your program out with the new version and if satisfied I have all intentions to register. Is there any way to get around this loop?

 

I also submitted an error report via email.

Also note that if I try and close the nag screen, the program pops up an information window and then restarts after that window is closed. No way to exit loop without using Task Manager

 

Thanks,

Version 3?, now that is a long time ago.

 

There have been problems in the past upgrading to the latest version when you skip several major releases like this.

 

The best fix for this is the "nuke" method

 

1. Uninstall GSAK

2. Delete the install folder of GSAK and all sub folders

3. Delete the GSAK data folder and all sub folders (if you haven't changed the default then step 2 would have already done this)

4. Download the latest version of GSAK from http://gsak.net

5. Install and try again

Link to comment

I'm using version 6, build 46 and I'm having trouble with the Arc/Poly filter.

 

I've also recently upgraded to Mapsource 6.7

 

I'm doing as I've always done: creating a route in Mapsource, saving it as an MPS file, and loading it into the Arc/Poly filter.

 

When I run the filter, no matter what distance I specify in the Arc/Poly filter, it selects all waypoints in the GSAK database.

 

Anyone else seen this?

Link to comment
I'm using version 6, build 46 and I'm having trouble with the Arc/Poly filter.

OK, maybe I spoke too soon. After resaving the MPS file and restarting GSAK a couple of times, things are getting back to normal and the filter is working.

 

One time, though I did encounter an error when trying to load the MPS file into the Arc/Poly filter and a dump was sent to Clyde.

Link to comment

I am a newbie to GSAK. I am having a very weird problem... I decided I would do a few "drive by" caches last night, so I loaded up the GPX file into my Magellans (I have both a gold and a color Magellan)... when I use direct route (driving directions) on the GPSs it does not tell me the name of the street I am turning at next. Normally it shows the street name I am going to turn onto, which way I am turning, and how far it is until that happens. With the loaded GPX, on both GPSs, it no longer says the street name. It shows the street names on the map, or when I cursor over to the streets... just not in the driving directions. Any thoughts?

 

I downloaded EasyGPS and it works fine (although I prefer GSAK's options by far), keeping the street names.

 

(note: I am doing nothing more than uploading the waypoints to the GPS with GSAK... no filtering or anything fancy... yet)

Link to comment

WalkWithFrogs...I to am a new GASK user, and find that it works great. I'am still working out a few snags that I have. I find the people that are here on the forum have been a big help. I have learned how to use my palm properly, a few new tricks with the legend and my next challange, will be using my Mapsource. Geocaching is a fantastic sport, and I have a lot of friends doing this. So it will be nice when I can operate everything with the toys. I just found out that ClydeE is the main backbone here, and have never really had a chance to thank him for all his help and this fine piece of software.

Link to comment
Originally I had those two lines as part of the larger macro I was writing.

 

I just made a new file with only those two lines, and GSAK is still giving me a 0.

 

The original file was being run from a macro button, the second I ran from the Macro menu, and then the Run option.

 

GSAK says it's running at version 6.0.0 in the title bar and in the Help|About dialog.  It says it's build 45.  I think I installed GSAK 6.0.0 right ontop of the previous version. (I didn't uninstall the old version first.)  Maybe that's the problem...

 

I just tried closing and re-opening GSAK...still have the zero problem.  As a note, it's 12:18 here...just got the nag screen for the first time lol.

 

Do you need any more info about how I'm running this?

Hold the bus.

 

Sorry about this, I should have looked at your build number more closely.

 

Build 45 was only up on the web site for a few hours, as it was discovered there was a critical bug in the RegExCount function (it is now apparent the same bug effects the AT function. The official release for version 6.0 should be Build 46

 

If you download GSAK again from http://gsak.net, install, then do Help=>About and make sure it shows build 46

 

Try again and we will keep our fingers crossed ;)

Hello Clyde

I also had Build 45. So I immediately installed Build 46. Now the Spoilersync macro is working. In build 45 it wasn't. Alwas inserted

 

*Spoiler Pictures*

*End Spoilers*

 

in the user notes

 

But another quirks is in the _spoilersync makro and build 46:

There is a debug commando running in line 55 and every line has to be acknowledged. After commenting out the makro is running.

 

line 54 # get the number of pictures in the file

line 55 debug status=on

line 56 Set $Images = RegExCount("<img src=.*?>",$data)

 

Chris

 

edited for spelling

Edited by bassoonde
Link to comment
<snip>.  Also one more inquiry, when my caches are all loaded into my palm, and the caches appear on the palm screen, at the bottom where is says "sort by: Name, Waypt..when I click on Waypt I do not get a waypt number ex:gcjddj, I just get more info about the cache. <snip>

I had that same problem and I found a tuturoil at a Maryland GeoCaching website that shows you how to fix that. Going Paperless On Your Palm

Link to comment
<snip>.  Also one more inquiry, when my caches are all loaded into my palm, and the caches appear on the palm screen, at the bottom where is says "sort by: Name, Waypt..when I click on Waypt I do not get a waypt number ex:gcjddj, I just get more info about the cache. <snip>

I had that same problem and I found a tuturoil at a Maryland GeoCaching website that shows you how to fix that. Going Paperless On Your Palm

Just be careful that when you export to CacheMate that you specify %code instead of %smart in the You can build the waypoint name using tags (see help) field if you want the actual GC.com waypoint name to show up.

Link to comment

Since yesterday's problem was fixed, I've done some more macro coding. Today I've been working on a different macro. I got most of the important code done, but when I started adding code to make the macro work on any GSAK setup without anyone having to do anything too complicated, I've come across another issue.

 

I need to be able to delete all user flagged waypoints in a database. Ok, so there's a "Delete" command. The delete command needs a settings name. Ok, so I go into GSAK, pretend I'm gonna delete a waypoint, select the radio button for "All user ticked" and then hit save. When I use the name for the delete command that I used when I saved my delete dialog settings, the macro deletes the flagged waypoints like it should. However, I wanted my macro to be able to tell GSAK to only delete the "user ticked" waypoints...I don't want the user of my macro to have to create a new saved settings for the delete dialog by himself/herself...that would gaurantee problems for like 1/2 the users (spelling mistakes etc.).

 

So, I played around with GSAK's ini files and learned that GSAK updates it's settings from the gsak.ini file very often (at least before it displays the delete dialog). I also figured out which settings control the delete dialog. At that point I got ambitious and wrote the code to append delete dialog code to the gsak.ini file if it doesn't have any yet, and modify it if it does. My code would replace the settings for which radio button is selected, making sure that the delete dialog is set to delete user-ticked waypoints only. In the macro, I told the delete command to use "... Last active" as the "settings" option. When I ran the macro, GSAK complained before it even got to the "Delete" command. GSAK is telling me there's something wrong with my replace command.

 

Here's my replace() function code:

 

replace("cbxStop.Checked=True", "cbxStop.Checked=False", $s_currentsettings, 0)

 

Here's the error it gives me:

http://searedice.rchomepage.com/error.jpg

 

I think the error might have something to do with previous commands...I'm still looking.

 

Anyway, here's the main point of my post:

I didn't realize at first there was a "macroset" command (that's why I messed with the ini files), but when I did, I couldn't figure out how to make it change the settings for the delete dialog (the delete dialog isn't listed as one of the possibilities in the help section for the macroset command). Maybe this could be added for the next maintanence release? When I change the gsak.ini file by hand to include delete dialog settings, GSAK uses them and even moves that section of settings to where GSAK likes it (when I add the settings at the bottom of the file). I doubt it would be too hard to add this to the macroset command...

 

For the time-being, I'm gonna look over my file editing code for why the replace() function isn't working. Also, I'm gonna try making the delete dialog settings ride along with something like MoveCopy. Plus, I see one option called Custom...but that might not be what I think it is...

 

Once all that is sorted out, what is the setting (like "chkUserFlag2=True") that can be set with macroset to make a command like movecopy only act on macroflag'ed waypoints (like userflag'ed waypoints).

 

Thanks again,

John

Edited by Seared Ice
Link to comment
So, I played around with GSAK's ini files

I strongly advise againist this. The format of the ini file is not documented and you could very easily crash GSAK by updating incorrect values. There is also the problem of future updates breaking your code. Please see the MacroSet command to enable this type of functionality in a controlled way.

 

Here's my replace() function code:

 

replace("cbxStop.Checked=True", "cbxStop.Checked=False", $s_currentsettings, 0)

 

As per the help file the last parameter in the replace command accepts a boolean value only. The variables section of the help file states "Boolean variables only have a value of true or false (not case sensitive)" This means your last parameter must be either the literal true or false. In your example you have entered 0 which GSAK sees as a numeric, hence the reason for the invalid expression error.

 

I didn't realize at first there was a "macroset" command (that's why I messed with the ini files), but when I did, I couldn't figure out how to make it change the settings for the delete dialog (the delete dialog isn't listed as one of the possibilities in the help section for the macroset command). Maybe this could be added for the next maintanence release?

Yes, the MacroSet is a new command introduced in Version 6. It should support all GSAK dialogs that provide the "Settings" option. "Delete" has been left off this list and I will add to the Maintenance release.

 

Once all that is sorted out, what is the setting (like "chkUserFlag2=True") that can be set with macroset to make a command like movecopy only act on macroflag'ed waypoints (like userflag'ed waypoints).

Please see the MFILTER command. As the MoveCopy applies only to your current filter, all you need to do is set a "on the fly filter" for waypoints you have set the MacroFlag for. In this case the syntax would be:

 

MFILTER If=$d_MacroFlag

 

Edit: Just in case you were not already aware there is a list of GSAK macros that can be found at http://gsak.net/Macros.php You may find viewing some of these helpful. As you are obviously interested in programming take a look at SpoilerSync.txt and Summary.txt

Edited by ClydeE
Link to comment
Originally I had those two lines as part of the larger macro I was writing.

 

I just made a new file with only those two lines, and GSAK is still giving me a 0.

 

The original file was being run from a macro button, the second I ran from the Macro menu, and then the Run option.

 

GSAK says it's running at version 6.0.0 in the title bar and in the Help|About dialog.  It says it's build 45.  I think I installed GSAK 6.0.0 right ontop of the previous version. (I didn't uninstall the old version first.)  Maybe that's the problem...

 

I just tried closing and re-opening GSAK...still have the zero problem.  As a note, it's 12:18 here...just got the nag screen for the first time lol.

 

Do you need any more info about how I'm running this?

Hold the bus.

 

Sorry about this, I should have looked at your build number more closely.

 

Build 45 was only up on the web site for a few hours, as it was discovered there was a critical bug in the RegExCount function (it is now apparent the same bug effects the AT function. The official release for version 6.0 should be Build 46

 

If you download GSAK again from http://gsak.net, install, then do Help=>About and make sure it shows build 46

 

Try again and we will keep our fingers crossed :lol:

 

and ha er... oopos ---

 

ummm... guess who ELSE! has build 45?

 

isn't causing an issue for me since I don't use those functions -

don't see a need to change - do you?

 

cc\

Link to comment
But another quirks is in the _spoilersync makro and build 46:

There is a debug commando running in line 55 and every line has to be acknowledged. After commenting out the makro is running.

 

line 54 # get the number of pictures in the file

line 55 debug status=on

line 56 Set $Images = RegExCount("<img src=.*?>",$data)

Thanks.

 

The SpoilerSync macro at http://gsak.net/Macros.php has been updated to fix this. I will also alter the shipped version in the maintenacne release.

 

So if you are using the the SpoilerSync Macro:

 

1. Make sure when you select Help=>About the build shows 46 (if not download again and install)

2. Delete the debug status=on in line 55 or download the fixed version from http://gsak.net/Macros

Link to comment

and ha er... oopos ---

 

ummm... guess who ELSE! has build 45?

 

isn't causing an issue for me since I don't use those functions -

don't see a need to change - do you?

 

cc\

The bug in build 45 only applies to the RegExCount and At Macro functions

 

So if you have written any macros that contain these functions you should make sure you have build 46

 

The SpoilerSync macro uses the RegExCount function, so in order for that macro to work you must have build 46

 

This is the only shipped macro that uses these functions

Link to comment

Now what's the problem with my use of the replace function?

error2.jpg

http://searedice.rchomepage.com/geocaching/error2.jpg

 

Changing the last parameter from 1/0 to true/false didn't change how GSAK was complaining. Then, I realized that I wasn't assigning replace()'s return value to anything, so I added the "$s_currentsettings =" before the replace functions. Then the error message changed from what it used to be to what it is now.

 

I tried getting rid of the . and = from the parameter strings, but that didn't help. Maybe the replace() function has a problem with the contents of $s_currentsettings (which should be whatever's in gsak.ini...or the error message returned if loading gsak.ini fails)

 

-John

Edited by Seared Ice
Link to comment
Now what's the problem with my use of the replace function?

 

Changing the last parameter from 1/0 to true/false didn't change how GSAK was complaining.  Then, I realized that I wasn't assigning replace()'s return value to anything, so I added the "$s_currentsettings =" before the replace functions.  Then the error message changed from what it used to be to what it is now.

 

I tried getting rid of the . and = from the parameter strings, but that didn't help. Maybe the replace() function has a problem with the contents of $s_currentsettings (which should be whatever's in gsak.ini...or the error message returned if loading gsak.ini fails)

 

-John

Yes, as I mentioned before updating the GSAK.ini file directly is a no, no.

 

It is not spported, you are going to run into problems if you go down this track, so please don't do it.

 

If you are reading the whole GSAK.ini file into a variable, then there are sure to be problems with your $s_currentsettings string as some of the elements in GSAK.ini have special characters. You may also run into problems here as you may be reading the gsak.ini file just as GSAK is writing to it (yes, some elements are written to it in the background).

 

Please use the MacroSet command as this command takes care of all those types of problems.

 

If you want to make sure the Replace function works, first try it on something less ambitiouus like:

 

$data = "The cat sat on the mat"

$data = replace("cat","dog",$data,true)

pause msg=$data

Edited by ClydeE
Link to comment

Yes, as you were posting that last one, I was testing some simple replace uses. They were working. As soon as I added code to load gsak.ini into the variable, it gave the error.

 

I want to use MacroSet, but my current application only needs it for the delete dialog, which won't be working until the maintenance update.

 

I won't complain anymore about my crazy ideas until the update comes out, I promise.

-John

Link to comment

Clyde,

I am expecting a explorist 600 to arrive int he mail anytime now so I wanted to preempt it's arrival with a few questions.

 

1. the export to magellan explorist sd option that writes a file to the *.gs format. Do I need the magellan conversion manager to load that into the explorist or can I just directly input it into the unit?

 

2. Does that *.gs format work for the internal and external memory of the explorist?

 

3. Does anyone using GSAK have and explorist 400 or above. How are you using/what techniques are you using with the filters to get the 200 point limit?

 

TIA,

Paul

Link to comment
Clyde,

I am expecting a explorist 600 to arrive int he mail anytime now so I wanted to preempt it's arrival with a few questions.

 

1. the export to magellan explorist sd option that writes a file to the *.gs format. Do I need the magellan conversion manager to load that into the explorist or can I just directly input it into the unit?

 

2. Does that *.gs format work for the internal and external memory of the explorist?

 

3. Does anyone using GSAK have and explorist 400 or above. How are you using/what techniques are you using with the filters to get the 200 point limit?

 

TIA,

Paul

1. You can write directly to the GPS, Conversion Manager isn't needed for this.

 

2. .gs works in both internal and external memory (as do .upt files).

 

3. I've been using a 500 for caching. If you look at the GSAK macro page, you can download and modify for your use a fairly simple macro that autoloads a number of .gs files using filters of different centre points to cover your caching area of interest.

 

My weekly pocket query of 500 caches around my zip code has given a database which, over time, has grown to 700+ caches. The macro breaks those caches into a half dozen or so clusters of 100-150 that overlap, but cover my entire area. Each week after I update the database, a single mouse-click loads fresh versions of the .gs files onto my 500, and sends a new cachemate file into my HotSync queue. It takes a little work to set it up (I'll be glad to help if you need any), but it feels wicked good to run that sucker each week and think how much work the computer and GSAK are doing for me.

Link to comment

Whoa, I'm hopelessly confused. I'm trying to export to Delorme SA 2005. I have their stock symbols added. Though I accept the symbols in GSAK, all I get when importing to the draw layer in Delorme is the little fellow with a walking stick. How do I get the correct symbols (cache found, not found, placed....) to appear in Delorme?? Be very patient, I'm not particularily computer literate. Many thanx.

Link to comment

I must say, this last upgrade has been the absolute best! My main complaint ever has been speed. Now, the speed is incredable. Many thanks! This program would be a bargain at twice the price.

 

I think my only remaining complaint, and truly I might have missed the solution, is editing the HTML page output. Let me configure my HTML pages the way I want and I could drop GPXspinner altogether.

 

Many thanks for a fabtabulious program!

Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...