Types-for-Adobe
Types-for-Adobe copied to clipboard
TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.
TrackItem.move() is missing from the TrackItem class for Premiere Pro. `move(newInPoint: number): void` https://ppro-scripting.docsforadobe.dev/item/trackitem.html?highlight=move#trackitem-move
Currently links to https://github.com/aenhancers/extendscript-xml-to-typescript, though repo has been moved to https://github.com/bbb999/ExtendScript-XML-to-TypeScript
Adds [getProjectItem()](https://ppro-scripting.docsforadobe.dev/general/sourcemonitor.html#sourcemonitor-getprojectitem) to SourceMonitor.
https://github.com/docsforadobe/Types-for-Adobe/blob/1ef5a526b02e6e090717964e1ebe95d181a70d7a/Illustrator/2022/index.d.ts#L4130
I fixed the Track item components, replacing any type with the correct Component[] type. Additionally, I added several missing arguments in the functions of the ComponentParam class.
`p.proptery(name) as T` is tedious, `p.proptery(name)` is better for chain call
Updates - Created ApplicationEventHandler type to specify the shape of event handlers for each event, from Adobe CEP samples - Updated app.bind method signature to use the new type -...
Defined in CEP Samples, also should work event handler takes in no arguments and returns void https://github.com/Adobe-CEP/Samples/blob/9efca02ea88ad32a8c22571f5ffe2407ae732cd8/PProPanel/jsx/PPRO/Premiere.jsx#L218
Updated Document Preset fields based on adobe reference, also added `typename` which is the only readonly field  This fixes the following warning of accessing fields incorrectly marked as static...