.loc file extension problem
|
|
Hi,
1. Is there a way to get the file name to be the reference of the geocache
FF 3.0.5
|
|
|
Hi Mark, I am now having exactly the same problem. Unfortunately, I don't think that there is an easy way to set the filename. The data: URI protocol doesn't give any means of specifying the filename, and as far as I know, Greasemonkey scripts aren't allowed to access the local file system directly, for security reasons. To fix this properly you'd probably need to write a full Firefox extension, rather than just a user script. I think that the A partial workaround is to use a batch file to process the @copy %1 "%USERPROFILE%\My Documents\Downloads\geocaching.loc" Obviously you can change the path to match your own system. Now, when Firefox asks you what to do with the file, select "Other" from the "Open with" pulldown, then browse to the batch file you've just created. The batch file will then rename the You can extend this idea, e.g. there are various helper applications that you could use to make the batch file prompt you for the filename. I use a similar batch file this way with gpsbabel to automatically convert |