Re: Illustrator Scripting Help Needed
Re: Illustrator Scripting Help Needed
- Subject: Re: Illustrator Scripting Help Needed
- From: Christopher Nebel <email@hidden>
- Date: Tue, 14 Oct 2003 13:05:19 -0700
On Oct 14, 2003, at 12:47 AM, Olivier Ringenbach wrote:
tell application "Adobe Illustrator 10"
tell front document
delete (every path item whose (item 1 of position) > 200)
end tell
end tell
I guess you're being wildly optimistic. You can use a whose clause
with a
property, but not part of a property, as you're attempting here.
No Shane, this time you're wrong (Champagne!!!),
this perfectly works for me:
tell application "Adobe Illustrator 10"
delete (every page item of document 1 whose (item 1 of position >
200))
end tell
On Oct 14, 2003, at 2:58 AM, Rob Stott wrote:
Strangely, I couldn't get Olivier's suggestion to work...
Theoretically, Olivier is correct -- the language spec says this sort
of thing ought to work. However, it's up to the application to
implement it correctly, and not all of them do. Why Olivier and Rob
are getting apparently different results with the same application is a
mystery to me.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.