I want types or help

hi

TL;DR: I applaud the effort, but JavaScript is a terrible choice and will likely frustrate uptake. I’m happy to pay someone for help since I’m stuck here.

i have had so much excitement turn into frustration in just a few short days.

i really want this. But you built UXP and the Premiere Pro APIs in JavaScript, a language that - famously - does not lend itself to static analysis or exploration. I did end up finding a typescript type definition file, but it doesn’t seem to have half the methods I see in the docs. As a result, im constantly bewildered about how things relate to each other, how they’re meant to be connected together. The documentation mentions static methods all the time, but neither the type mentioned nor the concept of a static method in JavaScript exists, so what am I to make of that?

I’m just left poking random values into things and putting them under the debugger to see if it’ll work. Things that a simple type definition would tell me in a single second end up taking hours or days of guessing, trial, and error, with no guarantee of ultimate success. I get that it’s new but as a result, sometimes the answer ends up being “it’s not possible.”

I have a few things I’d love to be able to do and would pay $$ for working examples of any or all of them:

  • Given a movie.mov on the timeline (V1), apply a track matte mask pointing to V2
  • Given a movie.mov on V1 and a track matte on V2, nest both, and then scale the resulting layer to frame size
  • Apply auto color correction to the nested item
  • Apply the automatic audio fix for an audio layer.

If someone can provide concise examples of each of these, I’d be happy to pay. Please reach out to me josh@joshlong.com. Thanks in advance

More type definitions are coming in the next pre-release SDK.