Set Rating Filters with AS
Hi there,
I'm a little bit struggle as I try to set the rating filters by AS to avoid any problem of keyboard shortcuts when I work with different photographers.
I'm able to do it with the color tags without any problem, but I can't figure the right syntax for the rating property.
When I use this script I'm able to select the "one star" filter, and so far it's the best I have been able to do.
A little help will be really appreciate ;)
Thanks.
tell application "Capture One 21"
tell current document
set filters to {"Rating|"}
end tell
end tell
-
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 theEnabledFiltersto 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 tell2 -
www.shootmachine.co thank you a lot ! I feel stupid I should have think about it :!
0
Post ist für Kommentare geschlossen.
Kommentare
2 Kommentare