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

Script for delete links from Adobe Illustrator

New Here ,
Nov 14, 2022 Nov 14, 2022

Hi there,

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

Thank you!

TOPICS
Scripting
461
Translate
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

Translate
Adobe
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

Translate
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
LATEST

Mark, many thanks, it is awesome!

Translate
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