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. ⚠️

Creating smart album from AppleScript: syntax reference?

Kommentare

3 Kommentare

  • Ok... looking at the database dump I was able to guess the proper key, it's IB_S_CONTENT_KEYWORDS.

    Nevertheless: is there a syntax reference?

    0
  • Quentin Black

    I've not ever found one.  I just create a smart album in the UI with the sort of criteria I'm interested in creating in code and examine the result with something like this:

    use AppleScript version "2.4" -- Yosemite (10.10) or later
    use scripting additions

    tell application "Capture One 20"
    tell current document
    set aSmartAlbum to some collection whose name is "<test album name>"
    log rules of aSmartAlbum as text
    end tell
    end tell

    <test album  name> will be the name of the smart album you created in the UI.

    0
  • Thanks for the tip, it makes sense and it is faster than dumping the database and inspecting it.

    0

Post ist für Kommentare geschlossen.