4 Replies Latest reply on Dec 23, 2015 5:52 AM by Silly-V

    Is it possible to use scripting to duplicate a layer?


      I recently asked this question in the Illustrator forum as I didn't realize there was a separate scripting forum: Find and Replace Text Problem


      I ended up just hunkering down and solving my own problem after spending a few hours just experimenting with the Scripting guide.

      Now, I'm trying to finish the last piece of the puzzle for this script that would totally fix my issue. Is it possible to make the script duplicate a layer? There is a duplicate() function but it doesn't appear to apply to the Layer element. Is there some workaround?


      Thanks for your help