• 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: Newbie Trying to Write Script for Adobe Illustrator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Trying to Write Script for Adobe Illustrator


  • Subject: Re: Newbie Trying to Write Script for Adobe Illustrator
  • From: Michael Zischeck <email@hidden>
  • Date: Tue, 29 Jun 2004 10:07:27 +0200

Hi

I think you are on the right path but not looking properly enough. .I
just did a rough test.. and in got the same result as you.. but I did
not only get the first item of document 1 but all... and there IS a
difference..

in your example without color references.. the page item is of class:
compound path.. and thus (whatever it is..) has no color...
if you try a repeat loop..

repeat with i from 1 to number of page items in document 1

set x to properties of page item i of document 1
-- insert actions here
end repeat

You will find that other page items.. classified as: path item. have
colors..

I hope that helps

Michael
_______________________________________________
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.


  • Prev by Date: Re: Unix file path problems
  • Next by Date: Re: Unix file path problems
  • Previous by thread: Re: Newbie Trying to Write Script for Adobe Illustrator
  • Next by thread: Remote AppleEvents not 100% reliable?
  • Index(es):
    • Date
    • Thread