Skip navigation
Currently Being Moderated

action set that selects raster images.

Mar 8, 2013 9:47 AM

Tags: #illustrator #cs5 #help #actionscript #raster

I would like to automate an action set that selects a raster image (linked file) that has been grouped with vector art and then converts that selected raster image into a vector (live trace)

 
Replies
  • Currently Being Moderated
    Mar 8, 2013 10:45 AM   in reply to bornmodern

    You will require scripts for that. Ask in the scripting forum.

     

    Mylenium

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 10:59 AM   in reply to bornmodern

    One could think about an action, but one would have to get much more information about how the file(s) are structured.

     

    Also, which version of Illustrator are you using?

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 3:43 PM   in reply to bornmodern

    this script selects all linked images in the current document, just note that if you record running a script, it will not survive after you close illustrator, you'll have to re-record that step.

     

    var idoc = app.activeDocument;
    var imgs = idoc.placedItems;
     
     
    for (i=0; i<imgs.length; i++) 
        imgs[i].selected = true;
    
     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 5:58 PM   in reply to bornmodern

    There's a plug-in that adds choices to the Select>Object menu (Raster Art is one of the choices), so you should be able to incorporate that into an action:

     

    http://rj-graffix.com/software/plugins.html#SelectMenu

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 8, 2013 9:33 PM   in reply to bornmodern

    hum...I wonder why, this is what I get, it even selects missing links

     

    selectPlacedItems.PNG

     

    try it with a new document and a couple of freshly linked images...to start troubleshooting.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points