Global research needs and scale and resize the image on a linked chart

http://forums.Adobe.com/message/5167443#5167443

Someone suggested I cross post to see if there is a simple script to my dilemma. See post link above.

Give it a try

#target Indesign

var toSearch = 'example.ai' //to edit: name of the ai to work on

//select a folder with inddFiles
var selFolder = Folder.selectDialog();
if(!selFolder) {exit();};
var allInddFiles = selFolder.getFiles('*.indd');

app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
for(var i = 0; i < allInddFiles.length; i++)
{
    currItem = allInddFiles[i];
var currDoc = app.open(currItem);
changeAI(currDoc);
}
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;

function changeAI(docRef)
{
var currGraphics = docRef.allGraphics;
    l = currGraphics.length;
    while(l--){
        currGraphic = currGraphics[l];
var currName =   currGraphic.itemLink.name;
if(currName == toSearch){
currGraphic.horizontalScale = 30;
currGraphic.verticalScale = 30;
currGraphic.parent.fit(FitOptions.FRAME_TO_CONTENT)
    }
            }
        currDoc.close(SaveOptions.YES);
        }

Tags: InDesign

Similar Questions

  • Need for Action to resize the image orientation Portrait or landscape

    I recorded these two Actions:

    (1) resize an image of the Portrait orientation to a height of 800 pixels (constrain proportions), then "Save for Web" to a jpg with quality 24%

    (2) resize an image orientation landscape to a width of 800 pixels (constrain proportions), then "Save for Web" to a jpg with quality 24%

    How can I create an Action that will work for images of landscape and Portrait (800 pixels in proportion to the other dimension by setting the largest dimension)?

    I use Photoshop CS5 v12.0.4x32 and Windows XP Pro SP3.

    Thanks to anyone who can help me.

    Jeff Schewe says:

    No, actually, that won't work... try it yourself. The image codes hard size a specific image resizing. Image adjustment is what you use.

    OK, I just tired it. I created two Actions (one using 'Image-Fit' value 800 pixels and another using 'Image size' value 17.4216% to reduce 4592 to 800 pixels). I ran each Action against a mixture of image orientation portrait and landscape and the results were identical and correct (the largest dimension is reduced to 800 piexels and the smallest to 532 pixels).

    All images of my Masters are 4592 x 3056 (or 3056 x 4592), the 17.4216% reduced to 800 x 532 (532 x 800). If I had a master mix of images of different size, 17.4216% would not suffer in 800 pixels. In this case, I would need to use "Mount Image" to get 800 pixels or I need a new Action with different percentages.

    In conclusion, you are right. 'Fit the picture' is what I should use so it will result in 800 pixels, regardless of the size of the master image. Thanks for your help.

  • Photoshop CC: Have a template that I transferred the image to.  The image is too small.  How to resize the image in the template?  Or I have to go to the file original image and resize here over and over again until I have found the right person?

    I have a model I am able to plug different images at different times.  The problem is when I plug an image in this template, I think that the image is either too big or too small.  Is it possible to connect the image in the template and resize the image (and not the template itself) OR I have to go into the file with the original image and resize them it there and then try to plug it into the model to see if it fits - and if it does not fit, return to the original with the image file and resize it again and see if this fits - and so on and so on...?  "" I tried the "image size" option, but it's all or nothing - especially miss!

    Thank you!

    First, make sure that the original image is larger that you need. It is easier to delete pixels that so add nonexistent pixels.

    Place the image in the template.

    In the menu filters, choose Convert to smart object. (Make sure that the image layer is selected before doing this step)

    Now reduce the size of the image of what you need (ctrl-t or cmd - t) when satisfied click return/enter.

    Because the image layer is a smart object, you can replace the inner image in another image and the scale will remain the same. You will find the option to replace the image in the layers > smart menu object.

    If you need assistance more let us know.

  • resize the image in a div with css

    Hi I have a slideshow and I load image dynamically with this code when I click on the thumb

    ($(sym.lookupSelector ("image1container")) .css ("background-image', ' url(images/ALBUM_01/album1_1.jpg)');

    All good, but what an opportunity of css, I use to Center and resize the image in a div to 100% height and 100% width of the div?

    It's my solution and it function

    I have attached the external stylesheet in compositionReady;

    $("_ _").appendTo ("#Stage");

    myStyle. CSS is subsequently

    @charset "utf-8";

    / * CSS document * /.

    HTML, body, #container {}

    height: 100%;

    Width: 100%;

    }

    IMG {}

    Max-width: 100%;

    height: auto;

    Width: auto\9; / * ie8 * /.

    }

    div {}

    background-repeat: repeat no.;

    background-size: 100% 100%;

    }

    on the edge of adobe in the rectangle that contains the image I put in class 'div '.

  • need to resize the image to a larger size and without distorting

    need to resize the image to a larger size and without distorting

    Every time you a high-end image you sacrifice quality and introduce artifacts.

  • How to remove a parcel and resize the legend of the plot in LV 8.6 as in this link to an example 7.0 LV

    This VI (ftp://ftp.ni.com/pub/devzone/epd/201150.vi) works exactly as I want to apply for a 8.6 at-, but the property node used in the example is no longer supported.

    I can add/remove sites and resize the legend of the plot with 8.6 using the 'LegNumRows' property, but this property does not behave in the same way.

    It seems like it should be simple, but I must be missing something.

    Thank you to confirm that this property does not work in the same way as in the example when it is used with a XY graph clusters and no dynamic data.

    I left the property node in the structure of the case (just as it was in the original example) while not to jam too when you went to compare two examples - my application does not for the reasons you stated.

    I will implement a legend Manager to ensure the follow-up of the plots in the legend.

    Thanks for the validation test!

  • It seems that wrapped text will not host photo resizing without cutting and pasting the image resized, is - what the Muse way is suppose to work?

    It seems that wrapped text will not host photo resizing without cutting and pasting the image resized, is - what the Muse way is suppose to work?

    It would be the default path to wrap the text with the image when you work in Design view.

    This document explains more:

    https://helpx.Adobe.com/Muse/using/wrapping-text-image.html

    Thank you

    Sanjit

  • Size and align the Image with Perspective Warp

    How do you get an image to the size and align it with the perspective distortion, unless I approach this wrong?

    You don't say how you approaching.  If something has a look of perspective.  He has a perspective not shape, size and resolution.   First of all, you need to resize the image to the size of the shape's aspect ratio. the boundaries of the shape. Hide the image resize to this form. Perspective transform the layer just perspective-looking mask.  And also to position the layer.

    To tell the truth do not know how to automate all this.  Automate everything resizes images for the limits of the perspective transform the final location of the image.  I align the image resize without perspective the limits of location and hide the image to the shape in the image of the perspective transformation.  I finished the automation here.  I leave the user with the responsibility to transform the layer to add the look of the perspective and rotation. I have no idea how to do to automate rotation and the appearance of perspective or create to a template that can be filled with automation of Photoshop.

  • Download picture of URL link and store the Image in a Local folder in BB10 Webworks

    Hello

    I want to download the image of URL link and store the image in a local folder in Webworks BB10.
    But I did not get the code for this.

    If such knowledge code or have any solution then please help me...

    Thank you best regards &,.

    Laurent Subudhi

    NitishSubudhi wrote:
    I go through this code... but it is throwing the exception. That is to say "ReferenceError: Webworks is undefined '." "

    According to the device/operating system, you need to add the extension of your installation of WebWorks as explained here for OS SmartPhone BB or PlayBook OS.

    To use read the samples provided, they must work somehow. When I worked with the extension on PlayBook I only copy + pasted the provided source code and changed the attributes for the function call:

    // You need to define "remotePath", "localPath", "onProgress", "onError", "options" like shown in documentationblackberry.io.fileTransfer.downloadFile(remotePath, localPath, onProgress, onError, options);
    

    For OS SmartPhone BB the function call looks like this:

    // You need to define "options" like shown in documentationwebworks.io.FileDownloader.download(options);
    

    All think that all information provide here, try to follow and cela should operate.

  • Need an easy way to resize the image for the web program

    I used to use Picture manager to easily resize a large picture (1-2 MB) to use on the web (50-100 KB) program. Now upgraded to Windows 8 (Why oh why, it is so user unfriendly) and photo gallery only resizes the images to about 500 KB. How can I easily resize images effectively.

    I used to use Picture manager to easily resize a large picture (1-2 MB) to use on the web (50-100 KB) program. Now upgraded to Windows 8 (Why oh why, it is so user unfriendly) and photo gallery only resizes the images to about 500 KB. How can I easily resize images effectively.

    ======================================
    Perhaps the resizer freeware at the following image
    be worth a try.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Prish Image Resizer
    http://www.photo-freeware.NET/Prish-image-resizer.php
    (Operating system: Windows XP / Vista / 7 / 8)
    (the name of the 32-bit file is: 32bit_PrishResizer_2519.msi)
    (for 64 - bit file name is: 64bit_PrishResizer_2519.msi)

    (Note... the download links for 32-bit and 64-bit are reversed)

  • How can I use Photoshop to remove scanned Brown adhesive around the edges of a digitized photo and keep the image showing through the band? Thank you very much.

    How can I use Photoshop to remove scanned Brown adhesive around the edges of a digitized photo and keep the image showing through the band? Thank you very much.

    Dear Melissa,

    We thank you for your email about my problem with the Brown stick Ribbon at the bottom left of this photo. I attach the screenshot. As I said before, I need to remove the Brown adhesive while maintaining the image of the small low boat left and its mast covering the band. Is it possible to do this with Photoshop?

    Kind regards

    Robert Bellingford

  • Black arrow sometimes chooses to frame and sometimes the image? (why the image?)

    In my previous version of InDesign, the black arrow has selected the box for moving, resizing, etc. ; the white arrow would allow me to select the image for moving and resizing the box.

    In ID CS6, the black arrow sometimes selects the box, but sometimes (and certainly more often than I wish), it selects the image instead of the box. (Why?)

    If I click on the outside of the box, he will choose the black arrow, but this is not always an easy thing to do. I would have preferred that the black arrow work the way it used to. I found nothing in the preferences dialog on this topic. Have I missed?

    Thank you.

    Are you clicking on the Content Grabber (it looks like a doughnut) in the middle of the image? If so, and you would not be active you can turn off under view > Extras >.

  • How to cut and paste the image of the body of the received email

    I'm trying to cut and paste an image included in the bottom of an email and insert it into a Word document so that you can size and print. I can highlight, cut it with Ctrl C, paste it into the document Word with Ctrl V, but the image doesn't show, although the picture frame appears when I click on the place where the photo was pasted. Framework, but empty, no image. Any thoughts?

    Thanks to everyone for their help.

    The problem has been resolved - to try and finally understand everything.

    If you encounter this problem, it is perhaps because, unless you know the file format of the inserted picture, programs can not figure it out for you. Place your cursor on the image, right click and save the image under a .jpeg instead of simply copying. Then work with the file .jpeg in any photo management program you use normally - or even insert it in Word.

  • Object to detect and record the image of the object

    Hello

    I'm trying to detect the object and save the image. However, the programming can sometimes do as request and sometimes impossible. Someone know how to ensure that this programming is stable? My programming is attached. It is using pixels to detect the object when he gets to the Center.


  • take screenshot and saves the image to a PNG file

    Hello

    How do I take screenshot and save the image as a PNG file?

    Thank you

    Avivit.

    If you want a picture of façade one VI, you can use the method to obtain images of Panel (or the Tool of Capture of Code, which offers a range of screws for this).

    If you want a picture of the entire screen, you can simulate a button on the print screen, using the method of Clipboard.Get Image Application class to get a picture of the contents of the Clipboard. If you are looking for "screenshot" you should probably find a few examples already.

Maybe you are looking for

  • To apply a Cisco 3560 Switch in my network

    Can someone help me to solve my problem? I have a Cisco switch catalyst 3560 that I need to implement in my network and I want to do is to have 3 different VLANS created and use them to separate and test. Is it possible to do only a single switch?

  • Black screen on Satellite L300D

    Hello Yesterday afternoon I went on my laptop but the screen was black, it seemed to the power upward but always because I could see the lights flash like the battery, power & HDD. I ve tried to take the battery and back, press and hold the power but

  • Can install ANY Linux on x120e

    Hello, I bought ThinkPad x120e, and my primary operating system is Linux. Now, I have used Linux for 10 years now, and I have not through such a problem until now, even if other people say that they installed Linux on the thing with success.I tried t

  • Digital I/o

    Can you 'measure' a 1 kHz, 3VDC square on a digital port of a PXI6723?  I try to make sure that the connection is good so I'm sending you the (sq) waveform analog on through a differential driver/receiver circuit and back into the DIO.  I test the si

  • Emails of blackBerry Smartphones

    I'm having a problem at the opening of the e-mails I received on my phone. It allows me to compose and send emails, but not open them. Some advice please