docsforadobe / Types-for-Adobe

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

PageItem uuid property and related document property missing #64

Open onlinelaser opened 4 years ago

onlinelaser commented 4 years ago

Since AI 24.0 a UUID property has been added to the PageItem object, and a related getPageItemFromUuid() method has been added to the document object.

Document.getPageItemFromUuid (uuid: string) : PageItem
--
  | Adobe Illustrator 24 Type Library
  | Retrieves the pageitem using Uuid.
  | uuid: Data Type: string
  | Uuid of pageitem.
PageItem.uuid  (Read Only)
--
  | Data Type: string
  | Adobe Illustrator 24 Type Library
  | The item's unique identifier.

I've tested this in AU 24.1.3 and works as described, see https://community.adobe.com/t5/illustrator/what-s-new-in-illustrator-scripting-cc2020/td-p/10772375?page=1

zlovatt commented 9 months ago

Open a PR!