Get Export Options with the Export Handler for Luminar
So, since the advent of Luminar Beta in 2016, users have been asking for many workflow basics such as export options (save to original folder etc) and the hard working support team have been faithfully passing these on to the devs for consideration in future updates.
After waiting for this in several updates: Luminar Pluto, Luminar Neptune, Luminar 2018 and Luminar 3 (decided to give Luminar 4 a miss but it appears they didn't get round to add this there either), I decided to write a little script to handle this issue myself by leveraging the capability to spin up daemons in Macs.
The daemon runs a bash script that watches a folder and whenever certain files types are saved into that folder, it figures out their original folder from their name and moves them there. Depending on settings in the script, it can rename the file, create a subfolder and give options to overwrite or keep conflicting files in the destination.
I prefer Luminar 2018 but should work for all versions of Luminar including the current Luminar 4 (Not tested on Luminar 4 which I don't use obviously).
There are basically two files. One is a script file and the other is a Mac LaunchAgent plist file.
Package can be downloaded from: www.dakanji.com/creations
## PRO TIP ##
Open Finder and drag your "Pictures/LuminarExportHandler" folder to the "Favourites" section in the sidebar. You will then have this always available in the Luminar Export/Saving dialogue.
DISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v0.2.0 Beta 2 (16 Dec 2019)
- Changed main script file name to handler.sh
- Changed LaunchAgent plist file name to xyz.o1sr.ExportHandler.plist
- Changed core code location into a function in handler.sh for flexibility
- Changed Misc variable names for clarity
- Removed need to edit plist file
- Added Changelog file
- Added requirement to install into /Users/Shared
- Added Auto Installer
- Added Option to export to a static folder
- Updated documentation with typo fixes and updated installation informationDISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v0.3.0 Beta 3 (17 Dec 2019)
- Fixes LMNR format package handling. Will now properly process *.lmnr files
- Fixes memory leak from loop when spaces occur in file path. The handler.sh script will now terminate silently when such spaces are found. I.E., users will get no notification that the process has stopped. A full fix will be added in a future update.
- Removed function added in v0.2.0 that deleted package zip and installer files which may delete these before they can be used. See README file for instructions on dealing with this.DISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated:
v0.4.0 Beta 4 (22 Dec 2019)
- Fixed LMNR format package handling. Will now also process "Windows Compatible" *.lmnr files.
- Changed the LaunchAgent to run on demand. Files exported/saved to the designated folder will now be processed immediately.
- Changed main script file name to ImageExportHandler to allow proper ID in OS messages.
- Added "Always Ask" option to "Overwrite Files on Conflict" feature.
- Added "Reveal in Finder" feature. Will show the moved item in Finder if "FINDER_REVEAL" is set.
- Added "LMNR Compression" feature. Will apply lossless lzw compression to tiff file resources within *.lmnr files if "COMPRESS_LMNR" is set.
- Added "Ignore Rename for LMNR Files" feature. Bases LMNR filenames on original filename regardless of FILE_NAME_PARTS setting.
- Added "Update NeoFinder catalogue" feature. Will update NeoFinder catalogue after moving files if "NEOFINDER_UPDATE" is set.
- Added "Check for Update" feature. Will inform users when updates are available.
- Added "Delete Installer" feature. Will delete installer and downloaded zip file based on user input.
- Other misc optimisationDISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated:
v0.4.1 Beta 5 (25 Dec 2019)
- Fixed variable name change propagation error. The change of name of the IMAGE_FOLDER_PATH variable to IMAGE_DIR was not propagated properly. This bug was introduced in v0.4.0 Beta 4.
- Minor code refactoringDISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v1.0.0 (02 Jan 2020)
- Fixed notifications.
Will now reliably display notifications and receive user input.
- Fixed "LMNR Compression" feature.
Will now reliably apply lzw compression to lmnr files if "COMPRESS_LMNR" is set.
- Fixed SINGLE_DIR_PATH implementation.
Will now correctly save to default folder if set to "DEFAULT".
- Changed app packaging to dmg format from zip.
- Changed LaunchAgent ID to "net.capture360.ExportHandler"
- Changed SINGLE_DIR_PATH default to "Pictures/MyExports" from "Desktop/MyExports".
- Changed program structure to work as an application.
- Changed configuration setting to a separate standalone file, config.txt.
This allows propagation of existing settings on updates.
- Changed main script details for POSIX compliance.
Removes "Bashisms" in view of Catalina change from Bash to ZSH.
- Added Uninstaller.
- Added styling to /Users/Shared/ExportHandler folder.
- Added "Apply RAW file EXIF" feature.
Applies EXIF data from RAW files to exported files if "APPLY_RAW_EXIF" is set.
NB: Requires an external dependency, Exiftool.
- Added "LMNR Overwrite Options" feature.
Allows different conflict handling for LMNR files if required.
- Added error logging.
Errors are logged to /Library/Logs/ExportHandler.log
- Added limited recursion.
Will run twice each time initiated
- Added sounds for errors and alerts.
"Basso" for errors, "Blow" for alerts and "Tink" for Notifications.
- Added "Show notification on completion" feature.
Provides option to override notification display on completion.
- Added "Make sound on completion" feature.
Provides option to allow or cancel sound on completion.
- Removed manual installation support.
- Removed "Delete Installer" feature.DISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v1.1.0 (18 Jan 2020)
- Fixed "Apply RAW file EXIF" feature Bug. (CRITICAL)
Will now use EXIF from matching RAW files instead of first RAW file found.
This bug was introduced in v1.0.0.
- Fixed issue with processing files when there are spaces in the file path.
Will now process all file paths with or without spaces.
- Fixed notification sounds.
Will now sync sounds with display of notifications.
- Removed "spoof_original_path" function
- Added EXIF preservation to jp2 files.
- Misc OptimisationsDISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v1.2.0 (25 Jan 2020)
- Changed "Update NeoFinder Catalogue" feature settings.
Increased options to seven for fine grained settings.
- Changed "Sleep" setting between main functions.
Will now display outputs with distinct gaps for clarity.
- Changed notifications icon.
Will now show Finder icon in place of generic script icon in notifications.
- Changed recursion.
Will not recurse on error.
Will now recurse as long as candidate files exist in watched folder.
- Added house keeping function.
Consolidates misc house keeping.
- Added file existence check to "LMNR Compression" feature.
Will now check file existence before proceeding.
- Misc Optimisations.DISCLAIMER: Skylum Software is not affiliated with the Export Handler
-
Updated
v1.4.0 (23 Aug 2020)
- Expands update notification details
- Changed LaunchAgent ID back to to "xyz.o1sr.ExportHandler.plist"
- Reboots on uninstallation, installation and updates to ensure agent is active/disabled
- Ensures required runtime permissions are granted by users
Makes sure permissions are in place for uninstallation, installation and operation
- Ensures existing config file is maintained on updates
Will now maintain your previous config file when upgrading from an earlier versionDISCLAIMER: Skylum Software is not affiliated with the Export Handler
Please sign in to leave a comment.
Comments
12 comments