Adobe 26001360 Scripting Guide - Page 228
tag, Valid Commands, Notes, Example 69.1
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 228 highlights
228 tag, tags A tag or list of tags associated with a specific page item. AppleScript Reference Table 4.94 tag, tags - Properties Property R/O Value type best type R/O type class class container R/O type class R/O object reference default type R/O type class index name properties R/O integer Unicode text record value Unicode text What it is The best type for the tag object; always returns reference The tag object's class, which is tag A reference to the page item that contains this tag The default type for the tag; always returns reference The index of this tag in the page item The tag's name All of the tag's properties returned in a single record (properties which are individually read-only remain so in this record) The data stored in this tag Valid Commands • count • delete • duplicate • exists • make Notes Tags allows you to assign an unlimited number of key-value pairs to any page item in a document. Example 69.1 The following script demonstrates how to get the tags for a page item. -- Get the tags for the first page item in the document tell application "Illustrator CS" make rectangle in document 1 with properties {name: "rectPath"} 12 Aug 03