Dear all,
I have bellow script that i used on Ai 2015.
It's just for embed all linked images and no problem at all.
#target Illustrator
if ( app.documents.length > 0 ) {
while ( app.activeDocument.placedItems.length > 0 ) {
placedArt = app.activeDocument.placedItems[0];
placedArt.embed();
}
}
But after I start to using Ai 2017, I got error as bellow. Not every time, but it happen a lot.
Is there anyone can help me to fix this?
I wish all of you have wonderful days.
Thank you.