Skip to main content
Known Participant
January 17, 2025
Answered

Can I create a script in automation blocks that moves position only on X axis?

  • January 17, 2025
  • 1 reply
  • 422 views

I am currently trying automation blocks and so far its impressive Like the title I would like to know if its possible for automation block to create a script that will move a clip only on one Axis, X for example and then another different script for Y axis. I am planning to map them on my controller and use one knob to move on X and another knob to move on Y.

 

Similar to how it can be done with any other value that is a single value.

Correct answer Mathias Moehl

For the original question - in case anyone has the same question later:
When an Automation Blocks scripts sets a clip parameter, it always needs to set the full value (both X and Y for example). But you can also get the current clip parameter value, hence, you can first get the value, then replace only the Y by a new one and set it again, to only modify X.

Concerning the color wheels: As far as I know they are not exposed by the scripting API of Pr and hence also cannot be changed by Automation Blocks, unfortunately.

1 reply

Kevin J. Monahan Jr.
Legend
January 17, 2025

Hi @demetrisag,

Thanks for the message and for contributing to the community. You probably need the assistance of @Mathias Moehl on this one. I hope we can get some assistance on this soon. Take care and have a great weekend!

 

Cheers,
Kevin

 

Kevin Monahan - Sr. Community and Engagement Strategist – Adobe Pro Video and Audio
Known Participant
January 18, 2025

no worries, I eneded up buying the software after all as I found a way to do what I needed but in any case now I have a new "problem"

 

I cant find a way to control the luminance value of Shadows/midtones/highlights from the color wheels and match section in the same way I can everything else from basic section

 

Basically what I need to do is have a shortcut that will reset the shadowsZ, and another one that will reset MidtonesZ and another one that will reset HighlightsZ. I have another way I can move those sliders up or down what I am missing is an easy reset way. Your software does it with everything else except those ones, unless it does through another way I dont know yet

 

Thanks

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
January 18, 2025

For the original question - in case anyone has the same question later:
When an Automation Blocks scripts sets a clip parameter, it always needs to set the full value (both X and Y for example). But you can also get the current clip parameter value, hence, you can first get the value, then replace only the Y by a new one and set it again, to only modify X.

Concerning the color wheels: As far as I know they are not exposed by the scripting API of Pr and hence also cannot be changed by Automation Blocks, unfortunately.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects