Skip to main content

Set Rating Filters with AS

Comments

2 comments

  • www.shootmachine.co

    When probing syntax issue you can set up Capture One with (in this case) the enabled filter (e.g 5*), then use this:

    tell application "Capture One 22"
    tell current document
    set theEnabledFilters to filters
    end tell
    end tell

    return theEnabledFilters

    to get the setting. 

    This returns text: "Rating|★★★★★"

    Multiple filters resolve as a list: {"Rating|★★★", "Rating|★★★★★"}

    Now you can reverse the process to set the filter 

    tell application "Capture One 22"
    tell current document
    set filters to "Rating|★★★★★"
    end tell
    end tell
    1
  • YAN SENEZ

    www.shootmachine.co thank you a lot ! I feel stupid I should have think about it :!

    0

Please sign in to leave a comment.