6 Replies Latest reply on Sep 2, 2009 11:52 AM by Adoniram S.

    Calling Specific Layers in Actions

    Adoniram S.

      Hi All,

       

      Any help you have on this would be really appreciated.  I have a variety of Illustrator templates set up to use for different projects and they never vary.  There's a huge amount of volume associated with these projects, so many processes need to be done via actions.  My question is:

       

      Is there a way to call layers using actions in Illustrator, much like the "Select Object" script in the Actions panel (which can be scripted itself)?

       

      For example, let's say I have a template and it has two layers, always (because it's an Illustrator template, it doesn't vary).  One layer is labeled "Print" and one layer is labeled "Press Notes" (and is set as a "template" in the layer attributes).  I want to have an action that strips out the "Press Notes" layer every time.

       

      It's easy enough to do this with individual objects (Attributes>Notes, then write a script that calls the variable(s) in the note) but I can't figure out how to script layers.

       

      I'm running Leopard, but I need something that's cross-compatible, so I can't rely on Applescript and don't know enough Javascript to solve it that way.

       

      Thanks again~