Applescript to get path of selected photos
Is it possible to create an Applescript to get the path of selected photos in Capture One?
Thanks!
Thanks!
0
-
I just found the answer.
Looks like Capture One return a list of variables, where I can find the files selected in the app.
Thanks 😉0 -
Would you kindly post the script? When I do: tell application "Capture One 9"
tell document "mysession.cosessiondb"
path of image 1
end tell
end tell
all I get is an error when path is clearly one of the properties of an image.0 -
BTW, Is there any decent documentation on the Applescript support? I googled a bit, but could not find anything except a few basic snippets.
The SDK page on the UK website has this:Are there alternatives to the Phase One SDK for automating capturing or processing?
Yes, Capture One Pro 6 and 5 for Mac OS X support AppleScript. This will enable image automation with moderate programming skills.
6 and 5? Wow, how up to date…
But apart from that, nothing.
Thanks,
Peter.0 -
There is a site with some applescripts for C1, one of which returns the list of Finder paths of the selected images: http://www.rap.net.au/rap-apps/capture-one-image-list/
The script is intended to be started from the "Scripts" menu in C1 itself.
The following test returns something useful:
tell application "Capture One"
set imgs to the images of document 1 -- returns the images being shown in the browser.
-- you can then ask for the path of each image.
end tell
HTH
Peter.0
Post is closed for comments.
Comments
4 comments