Not sure how many people here do use Photoshop, probably not many, but I still do. As such I find it convenient to be able to select an image in dt and have it open in PS, bypassing the need to navigate through piles of folder to find the image and open it.
As of now this strictly opens the selected image (does not export, so your dt edits will NOT carry over. I do hope to add that functionality soon though).
When selecting multiple RAW files only the first one will be opened, however, selecting multiple JPG or TIF they will all open as separate images in PS.
I have update the plug-in on github. It now includes âexport to Photoshopâ capabilities in addition to âopen in photoshopâ. Installing this one plug-in should give you two new features:
A box in lightroom view titled âopen in photoshopâ with a single âopenâ button
A new storage method under Export titled âExport to photoshopâ
Under Export to photoshop you must select an output directory for the files. The plug-in will automatically remember your last used directory and set that for use next time darktable starts for convenience.
In an effort to get this included in the master lua scripts repo Iâll be renaming it and making a few other tweaks to genericize this plugin. There is no reason it should be dedicated for opening in Photoshop, in fact it can be used for any application.
Thanks for this. I have no LUA experience but I have at least a rudimentary understanding of scripting and program language. I would like to use this for Pixelmator and it seems that should be simple enough. I edited the not_installed subroutine tp replace âphotoshopâ with âPixelmatorâ but it still says required software not found when I try to launch. Where else do I need to make changes?
Update: I got rid of the errors, so the module runs and export runs, but the application never launches. I would appreciate any assistance
Frank, technically you did not need to make any changes to the code. Just under lua preferences (found as a tab under settings inside DT) point to the pixlemator binary instead of photoshop binary. I would suggest you try that before editing the script. Let me know how it goes.
Not at this time. As I just mention in my reply to Frank this script can be used with programs besides PS as is. Just point to whatever program you want to use it with via the executable path chooser found for this script under lua options in dtâs settings dialog box.
I tried using the unmodified script. No errors and dialog comes up âOpening in Photoshopâ but the application never launches. If I had to guess I would say some permissions are preventing the script from launching another application.
Ok, please run dt in debug mode by launching it via:
Darktable -d lua
Then try again with the script. Iâm not certain where the debit lognfiles are stored on Mac (itâs document on darktables site. If I get a chance Iâll update this post with the location) open the log file and post the info here please (or message it to me directly)
Easier said than done in the Mac world but I got it to launch. Seems the script cannot handle the .app bundles in the mac world, and does not provide a way to navigate to the unix executable. Here are the lines from the terminal
25.777570 LUA Opening in Photoshop
25.778387 LUA OpenInPS run_cmd = â/Applications/Photo tools/Pixelmator.appâ /Users/frank/Pictures/Darktable library/2019/March 2019/_FEW0447.ORF
sh: /Applications/Photo tools/Pixelmator.app: is a directory
Might work if I modify the run cmd line to âopen -a /path/programâ? Nope, not as simple as I thought. Over my head!
This isnât a limitation of the script, but rather a limitation of macOS. You can find the path by right clicking on the app and selecting Show Package Contents.
Otherwise use the cd command in the terminal to navigate to inside the app bundle, then use the pwd command to print the full path, copy and paste it to the dt plugin.
This plugin doesnât appear to give me an option to type in the path or paste it. It brings up a navigation window. Iâll play around with some options