QUOTE (OpusTerra @ July 04, 2013 01:13 pm) |
This does the job very well except that the gsak\temp folder get erased (refreshed?) quite often and my custom bitmap is disappearing. So I need to manually copy it back in there before executing the GarminExport macro. Is there a way to avoid this? |
No, not at the moment. The macro creates a clean set of bitmaps every time it is run in the temp folder. However it has no way of knowing which custom child point names (and possible custom bitmaps) you are using to know to copy them over.
The easiest way to do it might be for you to write a 'wrapper' macro that copies your custom child point bitmaps from the macros folder into the temp folder before running the main macro.
GSK |
IF FileExists($_AppData + "\macros\mybitmapname.bmp") $tmpS = $_AppData + "\temp\mybitmapname.bmp" $tmpS1 = $_AppData + "\macros\mybitmapname.bmp" FILECOPY From=$tmpS1 To=$tmpS ENDIF MACRO File="GarminExport.gsk" |