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. ⚠️

Script to increase value each time triggered?

Comments

2 comments

  • Emory Dunn

    You can use the current value and a bit of math to increment and decrement a value: 

    set dehaze amount of adjustments to 5 + (dehaze amount of adjustments)

    0
  • Kim Hardy

    Wow!!! Wonderful!!!! Thank you so much Emory! I got it working. had to figure out the minus direction which is of course the math the other way round but it now works perfectly. 

    tell application "Capture One 22"

    tell the primary variant

    set dehaze amount of adjustments to (dehaze amount of adjustments) - 1

    end tell

    end tell

     

    Now I can easily create a keyboard shortcut to effect any parameter which isn't natively supported using a midi controller.

    Thank you 

    regards 

    Kim

    0

Please sign in to leave a comment.