How to write a script Curve point?

Discussion regarding all scripting related questions
Please DO NOT post to this thread anything that is not directly related to scripting of Capture One.

How to write a script Curve point?

Postby Modexe » Tue Jun 25, 2019 6:10 am

How to write a script Curve point?

Code: Select all
tell application "Capture One 12"
   set blue curve points amount of adjustments of primary variant to 14
   set blue curve points brightness of adjustments of primary variant to 18
end tell


No work
Modexe
 
Posts: 1
Joined: Tue Jun 25, 2019 8:03 am

Re: How to write a script Curve point?

Postby Eric Nepean » Tue Jun 25, 2019 7:26 pm

In these sorts of cases I start by “getting” the setting, and then observe what kind of object that is, what’s in it and how it’s formatted.

From there, I use exactly the same object and check that it works in a “set” command.
Then change one thing in it, and check again will it “set” correctly. And then bigger changes.
Eric Nepean
 
Posts: 615
Joined: Sat Oct 25, 2014 8:02 am
Location: Ottawa


Return to Scripting



Who is online

Users browsing this forum: No registered users and 1 guest