Tired of confirming the "choose folder" box each and every time when saving a bunch of images, pages or links?
This macro extends the menu to offer not only "Save As...", but additionally also "Save (Last Used Dir) (!)"
The second entry is new, it blindly drops the stuff into the LAST USED folder without asking anything
- but ATTENTION, this also means it doesn't ask for overwrite permission if that filename exists already, it overwrites it silently! Would have prefered a warning, but that's beyond my restricted coding level, so I just added a little reminder in that menu line: (!)
Just a kmm-file, save it in your K-Meleon macros folder
Macro tested in KM 1.5.4 and 1.6beta2. Probably works also in other versions.
You can set your own keyboard shortcuts
for those new commands, if you open the kmm-file in a text editor. In the beginning there are a few lines with variables meant for user configuration.
Predefined shortcut to "Save Link Target in last used folder": ALT + LeftMouse
In the kmm-file you can also define your own max menu length of the last used folder path. Default: max 16 characters in menu.
Native K-Meleon options:
the save type (HTML only OR whole page with images, scripts etc.) is also the last used mode, as you've set it with the last used "Save AS..." command.
To choose either the filenames or the page titles as default for saving, open
Edit > Preferences (F2) > File Handling
On the same page is also an option to automatically close the "download finished" info box without confirmation each time.
Code: it uses a native KM pref, and toggles it if needed ("kmeleon.download.useSaveDir"
Unfortunately the second "drop in last used" command doubles the file endings (extension), e.g. an image "photo1.jpg" gets stored as "photo1.jpg.jpg". Can't help it, the filenames look a bit odd, but the function itself works fine, no prob.
Remove "SaveToFolder.kmm" from macros folder, or hit F2>Macro Extension
to temporarily disable single macros.
Edited 6 time(s). Last edit at 03/04/2014 04:28AM by siria.