• 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
Getting Class of a Page Item in Illustrator CS 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting Class of a Page Item in Illustrator CS 3


  • Subject: Getting Class of a Page Item in Illustrator CS 3
  • From: Steven Valenti <email@hidden>
  • Date: Wed, 10 Jun 2009 14:23:15 -0400

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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Getting Class of a Page Item in Illustrator CS 3
      • From: Shane Stanley <email@hidden>
    • Re: Getting Class of a Page Item in Illustrator CS 3
      • From: Simon Topliss <email@hidden>
  • Prev by Date: Re: Problem creating new mailbox
  • Next by Date: Re: Getting Class of a Page Item in Illustrator CS 3
  • Previous by thread: Re: How to manage image-list
  • Next by thread: Re: Getting Class of a Page Item in Illustrator CS 3
  • Index(es):
    • Date
    • Thread