• 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: Flatten Artwork in Illustrator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flatten Artwork in Illustrator


  • Subject: Re: Flatten Artwork in Illustrator
  • From: Simon Topliss <email@hidden>
  • Date: Wed, 3 Mar 2004 17:07:37 +0000

There isn't a 'flatten' command. You have to 'move' all the page items
to the end of a layer.

tell application "Adobe Illustrator 10"
set flatLayer to make new layer at end of document 1 with properties
{name:"Flattened"}
move page items of document 1 to end of flatLayer
delete (layers of document 1 whose name is not "Flattened") -- optional
end tell

You will need to add extra steps to unlock/show all layers, unlock/show
all page items. Watch out that the page items remain in the same order
afterwards (i.e. items from the first layer are still at the top.)

Simon

On 3 Mar 2004, at 1:51 pm, Steven Valenti wrote:

> Can someone tell me how you would flatten all the layers (not knowing
> how many layers) so artwork will be moved to one layer in the
> document?
> Also please show me what you looked under in the application's
> dictionary to do this.
>
> Thanks
> _______________________________________________
> 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.
_______________________________________________
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.


References: 
 >Flatten Artwork in Illustrator (From: Steven Valenti <email@hidden>)

  • Prev by Date: Re: testing for Classic and restarting
  • Next by Date: Re: Flatten Artwork in Illustrator
  • Previous by thread: Re: Flatten Artwork in Illustrator
  • Next by thread: Re: Flatten Artwork in Illustrator
  • Index(es):
    • Date
    • Thread