• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Duplicate illustrator layer with scripts

Community Beginner ,
Jul 04, 2018 Jul 04, 2018

Copy link to clipboard

Copied

Hey! I'm new to scripting, and I'm trying to find a solution to what should be such a simple problem.

I'm trying to duplicate a layer with a script, but as of now, it seems there's no an easy way. Somebody suggested that I should create an action that duplicates a layer, and then call that action from my code. But I can't seem to get an action to duplicate a layer, it just doesn't register it.

So, does anybody have an already working code for something like this, if not, can somebody point me in the right direction to code this myself?

TOPICS
Scripting

Views

2.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Jul 04, 2018 Jul 04, 2018

Copy link to clipboard

Copied

LATEST

Hi eggylegs​,

the quick way (but the harder and rocky one) --> Is it possible to use scripting to duplicate a layer?

the easier way (but much more slower) --> Duplicate layer just above the source layer by script

Hve fun

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines