Hi Ariel, thank you and welcome to the forum!
I will try to answer all your questions but I should first tell you that everything you mention is possible to create with Automation Toolkit without too much effort.
I will explain the process step by step and will also include the Automation Files for you to download.
- I guess you figured out that you can run scripts using the “menu command” project action, this is the correct way but there will be a problem with the “undo” and it will create an error, there is an easy fix for this issue, you can delete the lines “app.beginUndoGroup(“Create rigged camera”);” and “app.endUndoGroup();” from the script file or just download the my modified version of the script without these lines(only this change). download here -
- In the latest update I have added a new action to the items called “add adjustment layer”.
this action adds a new adjustment layer with a custom predefined name at index 1 of the composition,
in order to use this action first you have to loop over the “layers in the active comp” and then create inside the loop a new variable and change it’s type to Item(item can be a composition) then you have to select the loop and then the property “containing comp”, this variable now will be the active composition, you can now add an action after the loop and select the comp variable then select the action “add adjustment layer”, you can type the name of the new adjustment layer too.
- You can name your adjustment layer in the last step.
- You can apply an animation preset to a layer using the layer action “apply animation preset” and type the name of the preset, first you need to loop over the layers in the active comp and then add an if automation line and ask if the layer index property is equal to 1, so this will apply the preset only on the layer at the index of 1, inside the if add an action automation line and select the loop, then select the action “apply animation preset” and type the name of your preset.
Your last question about adding keyframes to effect’s property is more difficult to explain step by step,
I created a tutorial about this subject - https://youtu.be/pspx0mFCudY
this process involve looping on the effects of the layers, then loop on the properties of this specific effect named “Camera Controller” , finding the property called “Tilt”, changing the time of the property to the time indicator of the composition(the time of the new keyframe), add a keyframe with the value of 5, changing the time of the property again to the time indicator of the comp + 1 / frame rate * 20 (frame count) this will calculate the current time + 20 frames based on the frame rate, then add a keyframe again with the value of 5.
I think that the best way for you to learn is to look inside the automation and try to examine how it works based on my explanation.
Please feel free to open more topics and ask more questions,
Thanks,
Alon
Camera Controller Automations + the modified “Camera Controller.jsx” script - Camera Controller.zip (8.7 KB)
(make sure to use the latest version of Automation Toolkit).