docsforadobe / Types-for-Adobe

TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.
526 stars 126 forks source link

Improving Premiere Pro types #44

Closed vespakoen closed 6 years ago

vespakoen commented 6 years ago

1) Rename App -> Application so it is overriding the Application object correctly 2) Fix function signature for importFiles (from here: http://www.brysonmichael.com/premiereapi/importfiles-1) 3) Fix time arguments, object -> number for .insertClip and .overwriteClip 4) Allow array access on multiple objects

pravdomil commented 6 years ago
  1. ok
  2. ok
  3. ok
  4. can we use index: number ?
  5. declare const qe: any I got qe is undefined
vespakoen commented 6 years ago
  1. No problem
  2. once you run app.enableQE() "qe" will become available, it's some private API that adobe uses for testing (more here: https://forums.adobe.com/thread/1977423), but common practice is to use it for some things (as the public API seems to be pretty limited) Should we do the same as the PlugPlugExternalObject (optional loading)?

It doesn't seem that there is much documentation available for the QE object, perhaps we should just leave it off and let users define it themselves?