Reputation: 11
I wanted to run a java script for adobe primer pro in auto hot key that should add clips to the time line once executed.
My adobe script looks like this:
#target premierepro
main();
var VASequenece =app.project.activeSequence ;
var project = app.project;
var videoTracks = app.project.activeSequence.videoTracks;
var rootProject = project.rootItem;
function main(){
//codes to be executed here!
}
From what I have read in here Running Javascript through AutoHotkey? is that you can run the code directly using this script
Run, C:\Users\User\Documents\Adobe Scripts\test1111.jsx
return
The issue that I have right now is when I run the auto hot key script nothing happens!
I googled more to see how far I could get and I saw some people used CMD like here how-to-run-js-in-estk-with-command-line to run the scripts and when I tested it out also did nothing!
please help as I don't know what I did wrong!
Another link that I was following was Premiere Pro Script execution without ExtendScript Toolkit confirmation ... In which one of them said I have to add an empty txt file called
extendscriptprqe.txt
Still nothing happens!
Upvotes: 1
Views: 312