Types-for-Adobe
Types-for-Adobe copied to clipboard
TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.
Current typing is: ``findItemsMatchingMediaPath(matchString: string, ignoreSubclips?: number): void`` However according to the official [documentation ](https://ppro-scripting.docsforadobe.dev/item/projectitem.html?highlight=findItemsMatchingMediaPath#projectitem-finditemsmatchingmediapath) it returns "an array of project items, or 0 if no project items matching the...
Using the library types for an After Effects script, TypeScript will produce an error for array arguments to Property.setValue(). For example: ```javascript layer.position.setValue([100, 100]); ``` results in the error for...
Using `Property` instead of `TwoDProperty | ThreeDProperty`, because some of the latter's properties types are `nerver`.
As documented here: https://ppro-scripting.docsforadobe.dev/item/trackitem.html#trackitem-nodeid
OS: Debian 11 TypeScript: Version 4.7.3 The Readme file suggests to use the triple-slash directive for including type definitions. For example ```typescript ///
InDesign: Types for InDesign 2021 reference to "shared/ScriptUI.d.ts" removed