添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange

Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.

Sign up to join this community

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

I use this simple script* to embed all images in an Illustrator doc.

I just tested it on 6 images at once and it works.

if ( app.documents.length > 0 ) {
    while ( app.activeDocument.placedItems.length > 0 ) {
        placedArt = app.activeDocument.placedItems[0];
        placedArt.embed();

*I didn't create it myself, I'm not sure where exactly I got it from, but probably from this answer.

Thanks Welz, I'm still seeing the same result, the Graphics are changing position as they embed.

The code that worked for me is below. I had to set an array to stop the Images from Jumping:

                    var idoc = app.activeDocument.placedItems;
                    var iplaced = app.activeDocument.placedItems[0, 1];{
                    var  p = 0; p > iplaced.length; p++;
                    var iplaced = app.activeDocument.placedItems[0];
                    iplaced.embed();
                    var iplaced = app.activeDocument.placedItems[1];
                    iplaced.embed();
                    var iplaced = app.activeDocument.placedItems[1];
                    iplaced.embed();
        

Thanks for contributing an answer to Graphic Design Stack Exchange!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.