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

how to delete active artboard using illustrator cs6 javascript

New Here ,
Feb 20, 2017 Feb 20, 2017

Copy link to clipboard

Copied

Hi this hariprasad,

var myDoc = app.open(inputFile);

var ab = myDoc.artboards.getActiveArtboardIndex();   

myDoc.artboards[ab].remove();

i am using the above code to delete active artboard using javascript

but i am getting an illustrator error occured 1128549443 ('CDLC') error

any please help me how to delete active artboard using javascript in illustrator cs6

TOPICS
Scripting

Views

760

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

correct answers 1 Correct answer

Enthusiast , Feb 20, 2017 Feb 20, 2017

Hi, there must be at least one artboard left in a document which can not be deleted.

Votes

Translate

Translate
Adobe
Enthusiast ,
Feb 20, 2017 Feb 20, 2017

Copy link to clipboard

Copied

LATEST

Hi, there must be at least one artboard left in a document which can not be deleted.

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