Copy link to clipboard
Copied
My scripts won't run in Premiere Pro 2022, whereas they used to in 2021. Any suggestions what could be different?
The panel as coded in the index.html file loads. The .JS file executes, but the ".evalScript" line doesn't seem to execute:
main.js file:
function test() {
var cs = new CSInterface;
alert('main.js test OK');
cs.evalScript('$.test.testfunction()');
alert('mail.js test completed');
}
test.jsx file:
$.test = {
testfunction: function() {
alert("jsx test OK");
},
}
In this example, both alerts from the .jsx fill will appear. It seems to skip, or not execute the "cs.evalScript" line.
Any suggestions welcome!
I think you mean 'both alerts from the .js file", not .jsx file; let me know if that's not the case.
In what PPro version (from the About box, not a year) did the panel previously work?
If you have a panel that behaves correctly in PPro 15.x, but fails in 22.x, send it to me.
Copy link to clipboard
Copied
I think you mean 'both alerts from the .js file", not .jsx file; let me know if that's not the case.
In what PPro version (from the About box, not a year) did the panel previously work?
If you have a panel that behaves correctly in PPro 15.x, but fails in 22.x, send it to me.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now