Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
What for an error?
Copy link to clipboard
Copied
As you can see before and after,
embeded images are moved, rescale and arranged to top.
It should be same as before i run script to embed all images.
Copy link to clipboard
Copied
Hi !
Embeds this art in the
document. Converts the art
to art item objects as
needed and deletes this
object.
LR
Copy link to clipboard
Copied
renél80416020,
I can not understand what you mean...
I'm asking to fix script that I used.
It's just about embed objects on artwork before I release to vender.
And if I have to convert objects manually before I run that script, there is no reason to run scripts.
It's for saving time and energy to select each objects and embed again and again
Copy link to clipboard
Copied
Salut https://forums.adobe.com/people/yong%20jc98868196
Difficile de répondre, de quel type sont les d'images ?
Tu peux me faire parvenir l'exemple par mail mon adresse est sous mon profil pour faire un test.
(enregistré sous la version CS6)
Copy link to clipboard
Copied
Thank you for your kindness but its my company's file so I can not send you.
This is image of screenshot what I'm talking about.
Copy link to clipboard
Copied
Salut,
Alors un autre exemple créé pour l'occasion avec la même erreur.
Le script est correct il n'y a pas de modification à apporter.
elleere
Copy link to clipboard
Copied
This is not first time and it happend to many of my coworkers...
It seems like old error that adobe doesn't care.
Thank you.
Copy link to clipboard
Copied
As you can see before and after,
embeded images are moved, rescale and arranged to top.
It should be same as before i run script to embed all images.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now