BetterTouchTool - Fader for HDR

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

BetterTouchTool - Fader for HDR

Postby NNN636467248261080238 » Tue May 14, 2019 9:14 pm

sadly CO1 didn't support the TouchBar so you have to use BetterTouchTool.

i have added two fader HDR shadow and lights in my TouchBar

you have to add an Custom Apple Script Slider Widget
in the Predifined Action you have to insert the following code
(this is for highlight recovery)
Code: Select all
on bttWidgetSliderMoved(sliderValue)
   if application "Capture One 11" is running then
      tell application "Capture One 11"
         set selectedVariants to (get selected variants)
         set countSelectedVariants to count of selectedVariants
         
         if countSelectedVariants = 1 then
            set thisVariant to item 1 of selectedVariants
            set highlight recovery of adjustments of thisVariant to (sliderValue - 0.0) * 100
         end if
      end tell
   end if
end bttWidgetSliderMoved


and for feedback from CO1 to the TouchBar, so when you change the image the slider shows the value or you move the slider in the gui the TouchBar slider will be updated:
you have to open the Advanced Configuration and insert the following code:
Code: Select all
if application "Capture One 11" is running then
   tell application "Capture One 11"
      set selectedVariants to (get selected variants)
      set countSelectedVariants to count of selectedVariants
      
      if countSelectedVariants = 1 then
         set thisVariant to item 1 of selectedVariants
         set ret to highlight recovery of adjustments of thisVariant
      end if
   end tell
end if

return ret / 100.0
NNN636467248261080238
 
Posts: 1
Joined: Sun Nov 19, 2017 10:47 pm

Return to Scripting



Who is online

Users browsing this forum: No registered users and 1 guest