Zum Hauptinhalt gehen

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Applescript to get path of selected photos

Kommentare

4 Kommentare

  • pedromiszewski
    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
  • Permanently deleted user
    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
  • peter Frings
    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
  • peter Frings
    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 ist für Kommentare geschlossen.