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

Script for delete links from Adobe Illustrator

New Here ,
Nov 14, 2022 Nov 14, 2022

Copy link to clipboard

Copied

Hi there,

Maybe somebody have a script that delete all links from adobe Illustrator file such Eps? Please share.

Thank you!

TOPICS
Scripting

Views

200

Likes

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

Community Expert , Nov 14, 2022 Nov 14, 2022

Hi @Serhii23598830uzq3, here is a simple approach:

var doc = app.activeDocument,
    placedItems = doc.placedItems;

for (var i = placedItems.length - 1; i >= 0; i--)
    placedItems[i].remove();

- Mark

Likes

Translate

Translate
Community Expert ,
Nov 14, 2022 Nov 14, 2022

Copy link to clipboard

Copied

Hi @Serhii23598830uzq3, here is a simple approach:

var doc = app.activeDocument,
    placedItems = doc.placedItems;

for (var i = placedItems.length - 1; i >= 0; i--)
    placedItems[i].remove();

- Mark

Likes

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
New Here ,
Nov 14, 2022 Nov 14, 2022

Copy link to clipboard

Copied

LATEST

Mark, many thanks, it is awesome!

Likes

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