Select specific recipe?
Is it possible to select a specific recipe? I'm able to create, enable (check it on), set all recipe settings, etc. but haven't figured out how to select a specified recipe if it isn't currently selected. The values within each recipe element don't seem to point to anything that would suggest it as being the selected recipe.
Just trying to avoid the occasion when a photographer clicks to a different recipe that is NOT enabled and therefore won't be used when processing out images.
Just trying to avoid the occasion when a photographer clicks to a different recipe that is NOT enabled and therefore won't be used when processing out images.
0
-
The selected recipes are those that are ticked. 0 -
There is a difference between ticked (aka enabled) versus highlighted (aka selected). If you have a recipe highlighted but not ticked then an error pops up that says: "The selected recipe will not be used for processing because it is not enabled"
In this case it is referring to the highlighted "SHOPBOP EDITORIAL TIFF" recipe.
https://commonuse.s3.amazonaws.com/External%20Send%20Files/Selected_Recipe.png
I'm looking for a way to programmatically highlight the recipe called "SHOPBOP MODEL CASTING JPEG" to avoid this error message. Getting the available recipe names is no problem but making that highlight change is where I'm hung up.0 -
Hi sran
Just set "enabled of recipe xxxx to true"
This script works.
tell application "Capture One 11" to tell current document
get recipes
get enabled of recipe 1
set enabled of recipe 1 to true
end tell0 -
Hey Eric,
The enabling/disabling of the recipes only turns them on and off but doesn't change which recipe is selected. So, if the selected recipe is not enabled and you try to process you receive the error I mention in my previous comment.
This is the code I made for getting the names of all recipes, making a new recipe if not exists and disabling all recipes except for this one.
tell application "Capture One 11" to tell current document
if not (exists recipe "SHOPBOP MODEL CASTING JPEG") then make new recipe with properties {name:"SHOPBOP MODEL CASTING JPEG"}
set recipeNames to name of every recipe
repeat with thisRecipe in recipeNames
if thisRecipe does not contain "SHOPBOP MODEL CASTING JPEG" then
set enabled of recipe thisRecipe to false
else
set enabled of recipe thisRecipe to true
end if
end repeat
end tell
If they already have that recipe when they run the app but have a different recipe selected then the selected recipe becomes disabled but is still selected...therefore getting CO11's error that the recipe won't be used.
Just trying to avoid this message.0 -
Hi Sean
That's harder. You may have a feature request here.
What if you were to enable the new recipe but not disable any others, and then run the process command? Does that change the selected recipe?0 -
Same thing. No change in selection.
Since creating a new recipe does automatically select it maybe I should find this recipe and delete it each to then create it anew. That would at least assure the right recipe is selected every time with all others disabled.0 -
Deleting found recipe and then creating a new one of that name does the trick though adds on another second each time the script is run (which will be about one hundred times per day). Will probably keep it out of this script and let the user know about it (she's very new to CO).
Where do you submit feature requests?0 -
[quote="SeanMurp" wrote:
Where do you submit feature requests?
You go to Phase One "My Pages", click on "contact technical support", and open a ticket.0 -
What if you have the "show enabled only" check box ticked. Does that remedy the error? 0 -
Sure does! Thanks Rick. Though, setting that doesn't appear to be part of Capture One's scripting dictionary as of yet. Will add the request to my ticket. Don't want to get back into UI calls/requiring accessibility rights for each computer. 0
Post is closed for comments.
Comments
10 comments