Re: Illustrator Scripting Help Needed
Re: Illustrator Scripting Help Needed
- Subject: Re: Illustrator Scripting Help Needed
- From: Olivier Ringenbach <email@hidden>
- Date: Tue, 14 Oct 2003 09:47:53 +0200
le 14/10/03 2:17, email@hidden `
email@hidden a icrit :
>
> tell application "Adobe Illustrator 10"
>
> tell front document
>
> delete (every path item whose (item 1 of position) > 200)
>
> end tell
>
> end tell
>
>
>
> I was expecting to have to delete all path items, then all text path
>
> items etc etc in turn. Can anyone tell me what I'm doing wrong
>
>
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
(assuming a position over 200.999 points)
--
Olivier
wildly optimistic, that's also a reason why to use Smile ;-)
_______________________________________________
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.