Copy link to clipboard
Copied
I have the following Code that works fine in an old style .jsx file:
function getFrameCount() {
var r = new ActionReference();
r.putProperty(charIDToTypeID('Prpr'), stringIDToTypeID('frameCount'));
r.putClass(stringIDToTypeID('animationClass'));
var ret = executeActionGet(r);
return ret.getInteger(stringIDToTypeID('frameCount'));
}
I've been attempting all day to either do this natively within UXP or to figure out how to call a working .jsx script from a button in my UXP plugin.
I can't find a way to get timeline queries working in UXP and would love some guidance
Copy link to clipboard
Copied
Hey @Tom33885194gnyg!
I recommend checking out the Creative Cloud Developer Forums.
It's a great place to connect with other developers, ask questions, and offer help. You might find better answers to your question there.
Thanks!
Alek