Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Could anyone here help me to create a "macro" (multiple steps) shortcut ?

Comments

8 comments

  • Walter Rowe
    Moderator
    Top Commenter

    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
  • Ivo Sedlacek

    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
  • Walter Rowe
    Moderator
    Top Commenter

    I will move your post to the Automation and Scripts area where capable people are more likely to see it.

    1
  • Permanently deleted user

    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 tell
    0
  • Ivo Sedlacek
    Thank you but unfortunately it does not work ...

     

    error "missing value doesn’t understand the “make” message." number -1708 from missing value

    0
  • Eric Valk

    The error message indicates there might be no “primary variant”. Did you select a variant before running the script?

    0
  • Permanently deleted user

    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
  • Permanently deleted user

    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.