Re: Getting Class of a Page Item in Illustrator CS 3
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