• 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: Steven Valenti <email@hidden>
  • Date: Thu, 4 Mar 2004 09:00:42 -0500

Thank you all who replied. I'll be working with Simon's suggestion since it's doing
what I had in mind.

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

However I have use for AVek idea of sharing a single Actions folder. How do
I go about doing this? Can I put the original folder on a server that all CPUs are
connected to and make an alias to put in the Illustrator app folder? Will this work?


On Wednesday, March 3, 2004, at 11:16 AM, email@hidden wrote:

Steven,
I don' think that UI scripting can solve the problem easily, as the
'Flatten layers' command is not available from the menus, but from the
Layers window.
If you are running a LAN with several machines one solution is to keep
synchronised the folders containing the Scripts/Actions (Adobe
Illustrator/.../Default_Actions.aia). Thus the actions developed on a
Master machine will spread to every other one.
I use that to be certain that I don't have to repeat Action scripting.

AVek
----
Gene-Summary Files: http://perso.club-internet.fr/avekris/
GeneScripts initiative: homepage.mac.com/avek/GScripts/
CircArrays and DiagCDs: http://perso.club-internet.fr/avekris/adv/

Le 3 mars 2004, ` 15:44, Steven Valenti a icrit :


Thank you for your reply but I would prefer if I didn't have use do
script since I need to
put this script on 18 machines and remember the do script if we get
more machines.
Any other possible ways?

On Wednesday, March 3, 2004, at 09:31 AM, email@hidden wrote:


Hello Steve,
there is a 'do action' commande, common to Adobe's softs that
you may
use.
In Illustrator register a new Action (in my case Action 1, in
folder
default Actions)
The 'listing' looks like:
Action 1
Layer
Flatten Artwork

Then use a tell block like this one:
tell application "Adobe Illustrator"
do action "Flatten Image"
end tell

You are done.

AVek
----
Gene-Summary Files: http://perso.club-internet.fr/avekris/
GeneScripts initiative: homepage.mac.com/avek/GScripts/
CircArrays and DiagCDs:
http://perso.club-internet.fr/avekris/adv/


Le 3 mars 2004, ` 14:51, Steven Valenti a icrit :



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.










Antoine Vekris
_______________________________________________
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: 
 >Re: Flatten Artwork in Illustrator (From: email@hidden)

  • Prev by Date: mailmerge word document
  • Next by Date: Re: applescript-users digest, Vol 3 #2492 - 18 msgs
  • Previous by thread: Re: Flatten Artwork in Illustrator
  • Next by thread: Re: Flatten Artwork in Illustrator
  • Index(es):
    • Date
    • Thread