Automatize changing color label of clips in timeline : Node.js
Hello guys, and thanks in advance for the kind reply 😃 .
I'm trying to reach an old goal, that is: automatize changing color label of clips in timeline. I'm trying the following.
a) define custom Premiere Pro shortcuts, one per label color.
b) Write an AutoHotkey executable, that presses the proper buttons when launched, activating the shortcuts defined in (a)
c) Use the node.js library called Child process [1], implemented in my own extension, in order to launch the previous executable automatically, according with some triggering condition implemented inside my script.
Now, I'm not a professional programmer, and stuff like node.js and Autohotkey are totally new for me.
So, just before starting a useless work, I ask you: do you think that such scheme could be doable?
My biggest concern is about the implementation of the node.js library and commands inside my extension.
Reading the article [1], it seems that the node.js code should be inserted inside the "client side"(html) code, and not in the "server side" (jsx) part of the code. Is that correct? the problem is that the triggering functions are in .jsx , so I think that, once activated, they should pass back to the html, right?
Do you have some tutorial/ guide , that could help me in this new adventure?
[1] https://nodejs.org/api/child_process.html
