Illustrator action to embed all external objects


To embed all external objects in Illustrator I do this:

  • Open the Links panel
  • Select all the linked objects (select first, shift+clik on last)
  • Select Embed object(s) from the dropdown menu in the panel

But when recording those actions (macro), they are not being saved.

Is there a way to automate this process? Script?

5/25/2016 1:12:00 PM

Embed is one of the commands you can't execute with an action (perhaps someone else can explain specifically why, I'm not sure).

You can do this with a really short script, here's an example of the code:

#target Illustrator

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

Save this as a plain text file with the extension .jsx into this folder : "[install directory]Adobe\Adobe Illustrator CC 2015\Presets\en_US\Scripts", restart Illustrator and run the script from File->Scripts.

5/25/2016 6:23:00 PM