Highlighted

Missing image name

New Here ,
Sep 01, 2020

Copy link to clipboard

Copied

I would like to determine missing image link in the Illustrator file through scripting.

When walking though the rasterItems and placedItems (app.activeDocument.rasterItems or app.activeDocument.placedItems), I am getting to know that link is missing by checking the 'file' property.

 

Now I would like to know the name of the image or path of the linked image which is missing in the document. Looks like there is no way to know about it. For missing image the name property is empty and when try accessing file.name (of File object) property it returns an error: There is no file associated with this item.

 

Is there a way to get to know name or path of the missing image through scripting in Illustrator.

Adobe Community Professional
Correct answer by CarlosCanto | Adobe Community Professional

it's possible to get missing links, try this script by milligram

 

https://stackoverflow.com/questions/34905134/extendscript-illustrator-placed-item-name

TOPICS
Bug, Scripting

Views

43

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

Missing image name

New Here ,
Sep 01, 2020

Copy link to clipboard

Copied

I would like to determine missing image link in the Illustrator file through scripting.

When walking though the rasterItems and placedItems (app.activeDocument.rasterItems or app.activeDocument.placedItems), I am getting to know that link is missing by checking the 'file' property.

 

Now I would like to know the name of the image or path of the linked image which is missing in the document. Looks like there is no way to know about it. For missing image the name property is empty and when try accessing file.name (of File object) property it returns an error: There is no file associated with this item.

 

Is there a way to get to know name or path of the missing image through scripting in Illustrator.

Adobe Community Professional
Correct answer by CarlosCanto | Adobe Community Professional

it's possible to get missing links, try this script by milligram

 

https://stackoverflow.com/questions/34905134/extendscript-illustrator-placed-item-name

TOPICS
Bug, Scripting

Views

44

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
Sep 01, 2020 0
Adobe Community Professional ,
Sep 01, 2020

Copy link to clipboard

Copied

it's possible to get missing links, try this script by milligram

 

https://stackoverflow.com/questions/34905134/extendscript-illustrator-placed-item-name

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
Reply
Loading...
Sep 01, 2020 3
Resources