The scale of the vector graphics. Can someone help me...

Hello

I confess that I'm not a coder. I tried to learn java script, but I think that's not in my "nature".

If anyone can help with this one? I have a book with hundreds of vector graphics inserted (wmf and eps). When there is a change in the graphic dimension and I recreate a link to the files to update the Indesign CS5 content, the result inside the container is not updated to the real dimensions of the chart. I have to select the graphic, resize to 100% and after that I must apply "to adapt to the content of the framework. I think that it is very easy to achieve with a script. Can someone help me?

Thanks in advance,

Maria

Although I don't know script and can announce that GREP, I am a student and I use it every day with great benefits...

It is easy to script, but only for those who know how to do... InDesign would win easy to save, such as Illustrator and Photoshop Actions... No reason to worry, though. Just ask in the friendly Scripting Forum

In addition, a good way to try complicated GREP discovered is to build using a GREP style, with a character style that applies Hot Pink pointed out Comic Sans Bold to "found" text Turn on the Preview button, write your GREP, check if it highlights everything that you want, and then copy the definition and remove the GREP style. Paste the definition into the search field and go.

This Javascript comes in two parts: the first controls to reduce by half if you have a graphic selected with the black arrow (a normal selection). If so, this single chart is resized and mounted. Otherwise, it scans all the graphics of the document as a whole and apply controls to all the graphics. If you think it's a little too much, do not include the 2nd halve of the script, everything after the line "eventually."

Copy what you need, paste it into the Adobe ESTK editor and save in your Script file as "resizeGraphic.jsx". Select an image and double-click the script, or otherwise, do not select a single chart and run it to resize / refit everything. (But only if you dare).

If you need isn't a lot, don't forget that you can add a shortcut to the script with the command editor keyboard; It automatically shows you in the "Scripts" section in there.

//DESCRIPTION:Size to 100% and Fit to Frame for selected image
if (app.selection.length == 1 && app.selection[0].hasOwnProperty("graphics") && app.selection[0].graphics.length == 1)
{
     app.selection[0].graphics[0].absoluteHorizontalScale = app.selection[0].graphics[0].absoluteVerticalScale = 100;
     app.selection[0].fit (FitOptions.FRAME_TO_CONTENT);
}

// OPTIONALLY!
else
{
     g = app.activeDocument.allGraphics;

     for (i=0; i 
         

Tags: InDesign

Similar Questions

Maybe you are looking for

  • How to display lists of reading mode Albums or Genres?

    I manage a large number of playlists and drag the songs from the albums. Is it possible find my Playlists in the left pane, while in Albums or Genres in my music?

  • How can I activate confirm the purchase dialog?

    I'm used to confirm a purchase. When I click on the buy button, a window popped up audit. THIS happens is no longer. How can I activate this return? I want to check that I clicked on the good article and make sure it has been bought and do not buy tw

  • Acer Iconia W3 - Internet Explorer Favorites bar

    How do you turn on the Favorites bar in Internet Explorer on the new Acer Iconia W3, 8-inch tablet? Thank you Monica Cooke

  • Print spooler problems

    My print spooler stops constantly whenever I try to print. Any suggestions please

  • Expression Web

    I have not developed/published a website for 2011 using Microsoft Expression and CSS.  I have a new employer who wants me to update their outdated website.  Small business. They want a simple static site. No bells or whistles.  I'm so out of the loop