Again, in Safari, if I've right-clicked on the file and selected Download Linked File As... and saved it as Macro.kmmacros, it downloads as expected. But then when I browse to the downloaded file and double-click it to install, I see a dialog similar to the following:
What am I missing? Thanks in advance for any help provided.
Yes, I had the same issue. When you download it that way, you get an HTML version. You can see the XML version if you click on the raw button. The workaround I use is to click on the copy raw version icon, paste it into a favorite text editor, and save it as a .kmmacros file.
Your method saves a few clicks since one doesn't have to open the Raw window and since the Format setting does not appear in the Save dialog.
Interestingly, however, even though the Save As: field indicates a file with a kmmacros extension (e.g., ABC.kmmacros), when the file is saved it includes a txt extension (e.g., ABC.kmmacros.txt). (At the Finder, when I remove the txt extension, the file does import as expected.)
Due to the above, a slightly quicker method for me is to select Download Linked File rather than Download Linked File As.... Again, however, the txt extension has to be removed. Of course, this manual task can be addressed with a macro with a Folder trigger, so I just created this...
Thanks, @ComplexPoint! I'm not sure how I missed that green Code button, but somehow I did.
Thanks to all of the contributors on this thread, I now have a quick method to download a single macro or a whole repository of macros. Many thanks @svinter, @kcwhat, and @ComplexPoint.