• 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: Illustrator Scripting Help Needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Illustrator Scripting Help Needed
      • From: Shane Stanley <email@hidden>
    • Re: Illustrator Scripting Help Needed
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Get every file of the entire contents of a folder. Quickly.
  • Next by Date: Re: changing start up disk
  • Previous by thread: Re: Get every file of the entire contents of a folder. Quickly.
  • Next by thread: Re: Illustrator Scripting Help Needed
  • Index(es):
    • Date
    • Thread