• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting Class of a Page Item in Illustrator CS 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Class of a Page Item in Illustrator CS 3


  • Subject: Re: Getting Class of a Page Item in Illustrator CS 3
  • From: Simon Topliss <email@hidden>
  • Date: Wed, 10 Jun 2009 19:31:22 +0100

On 10 Jun 2009, at 19:23, Steven Valenti wrote:

Can anyone explain why I'm getting...
caPA for Path Item
caGP for Group Item
caCP for Compound Path Items

ect.... when I ask for a class of a Page Item? It shows up in Script Debugger as fully spelled out.

Add display dialog (PageItemsClass as string) and it's fully spelled out however this trick doesn't work in AppleScript Studio as it labels it «class caPA».

tell application "Adobe Illustrator"
set PageItemClass to class of page item 1 of layer 1 of current document
display dialog PageItemClass
end tell


Try changing the second line to "set PageItemClass to (class of page item 1 of layer 1 of current document) as text"

Simon _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Getting Class of a Page Item in Illustrator CS 3 (From: Steven Valenti <email@hidden>)

  • Prev by Date: Getting Class of a Page Item in Illustrator CS 3
  • Next by Date: Re: ASystem Info oddity
  • Previous by thread: Getting Class of a Page Item in Illustrator CS 3
  • Next by thread: Re: Getting Class of a Page Item in Illustrator CS 3
  • Index(es):
    • Date
    • Thread