Could anyone here help me to create a "macro" (multiple steps) shortcut ?
I do SOO many photos for our eshop. Do you think it would be possible to make a "macro" of what I have to do every time for every single photo? To do the following just in one shortcut:
Create new mask - copy mask from adjustment layer 1 - invert mask - apply adjustment from custom styles - XY
Do you think it would be possible ?
Max OSX Sonoma - Macbook Pro M3
Thank you :)
-
You can create an AppleScript to do multiple steps and access it from the Scripts menu. You can run a script against any number of selected variants.
-1 -
Yes, maybe, but I have no idea how to do it, that's why I am asking if someone could possibly help me with it :)
0 -
I will move your post to the Automation and Scripts area where capable people are more likely to see it.
1 -
I'm still learning but this should do it:
tell application "Capture One"
set theVariant to get primary variant
tell theVariant
set MaskLayer to make new layer with properties {name:"Inverted Mask", kind:adjustment, opacity:100} at end
set theFirstLayer to get layer "Adjustment Layer 1"
copy mask theFirstLayer to layer MaskLayer
invert mask of MaskLayer
apply style MaskLayer named "PUT NAME OF YOUR STYLE HERE"
end tell
end tell0 -
Thank you but unfortunately it does not work ...
error "missing value doesn’t understand the “make” message." number -1708 from missing value
0 -
The error message indicates there might be no “primary variant”. Did you select a variant before running the script?
0 -
Eric is correct, you need to select one image and then run this. It's not set up to run on every image in a group (that would require more scripting) but just one.
See if you can get it working on one, first, and then we can figure out other steps.
And make sure you change the name of the Style you want in those quotes
0 -
I work with Keyboard Maestro. It´s a very useful tool to create Macros.
Here I have an example. I want to edit a variant with the app „TouchRetouch“ to remove an object:
So this is, what I can do with Keyboard Maestro:
Selecting „edit with“ in the menu
Selecting „Touch retouch"
Waiting until the button „edit variants“ appears
press „return"
Zoom the window in „Touch Retouch“.
0
Post is closed for comments.
Comments
8 comments