All images need the same size

Hi all

Is it possible to correct all the images in a loop in the same size.

i.e., width = 10mm; Height = 8mm;

I am successful to resize the limits. But I'm not able to fix in the same size for the objects of research.

Try the Code:

var myDoc = app.activeDocument;
myDoc.viewPreferences.horizontalMeasurementUnits = myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.MILLIMETERS;

app.findObjectPreferences = NothingEnum.nothing;
app.changeObjectPreferences = NothingEnum.nothing;

app.findChangeObjectOptions.objectType = ObjectTypes.ALL_FRAMES_TYPE;
app.findObjectPreferences.appliedObjectStyles ="aaa";

 var myFind = app.activeDocument.findObject();
//~  alert(myFind.length)

 for(i=0; i<myFind.length; i++)
 {
     var myBounds = myFind[i].geometricBounds;
     myBounds[3]-myBounds[1] = "10mm"
     myBounds[2] - myBounds[0] = "8mm"

//~      myBounds[2] = myBounds[2] + 10;
//~     myBounds[3] = myBounds[3] + 10
//~      myFind[i].geometricBounds = myBounds
     }

Could someone help with my request.

Thanks in advance

Beginner

BEGINNER_X wrote:

...for(i=0; i...
     }

If someone asks you to set the y - x = 10 will you

increase/decrease the 'y' or

increase/decrease the 'x' or

two of them?

How does InDesign?

myBounds = myFound[i].geometricBounds;
myBound[2] = myBounds[0] + 8;
myBound[3] = myBounds[1] + 10;
myFound[i].geometricBounds = myBounds;

It should work inside the loop

Jarek

Tags: InDesign

Similar Questions

  • In Illustrator Image Trace, how "place" an image at the same size as the PS file?

    If I work in Photoshop in 300 dpi and I want to insert a border around a form, with the help of Illustrator to create the plan, such as it is, it is impossible to do that. Go all the way back to Streamline (someone he remembers Streamline?), if you placed a picture of the automatic route, vectorization, or, now, 'Trace of Image', the placed image would be just that a copy of the same size of the file original raster. Not now. Now, placing an illustration for tracing involves waving a positioning reticle identified as '1:1 ' with which you can make the image is traced back to whatever size you want, and there is no ghosting or model to help size with reliability. At least, as far as I can tell. Am I missing something here? I went through the files using Illustrator and a copy of the 'Illustrator CC' of Weinmann. Nothing. It seems as if the Image monitoring mission is no trace, but to resize, so that the vectorized image likeness no size-the original.   Can anyone help?

    Birck,

    The value of W (as is the value of H) is in pixels if the selected unit, and in this context, a pixel is identical to a point or 1/72nd of an inch, corresponding to 72 DPI.

    So when you place the image, the w and H values reflect pixels real x the size in pixels of the image, regardless of the resolution created / used to in Photoshop.

    And that is why it must be reduced by multiplying with 0.24 and do appear in the size corresponding to 300 PPI.

    No need for percentages.

    But you can also select the image and use the object > transform > scale and apply uniform 24%, which is equivalent to multiplying by 0.24 as described.

  • The slideshow images are the same size when the browser is zoomed out?

    On this website, they have an effect with he image in the header that allows him to stay the same resolution / size even if the browser is zoomed in or out.

    https://News.Vice.com/articles/Simon-Ostrovsky-has-been-released?trk_source=homepage-in-th e-news

    When you zoom the image generally will appear smaller as all other content... But on this page, the image remains the same despite what zoom percentage is set in the browser.

    How can I do that with my slideshows of Muse?

    Hello

    You can use slide show full-screen and then use a framework to use the slide show full-screen with specified page height.

    Useful link:

    http://www.musegrid.com/Adobe-Muse-tutorials/how-to-build-a-responsive-design-images-slide r-adobe-muse

    Thank you

    Sanjit

  • How can I make all my clips the same size

    At the moment I have in the time line and were used for each of them to the scale of the image size option, but some size to full screen and some don't, I want them all the same size, what can I do?

    Greetings

    Select the item in the timeline, open the effect controls panel, use the scale to increase or decrease the size of the image.

    Peter Garaway

    Adobe

    Premiere Pro

  • all windows of the same size

    All new Windows I have open are the same size as the previous. If I adjust a window, all of the following that I opened are the same size as the last adjusted a.

    I had this problem before and I half remember get an add-on or extension that solved.

    See also:

  • Do all the images the same size and position

    Is there a way to Captivate 8 to make several images of the same size and position on one screen?

    Instead of having to manually adjust the properties?

    Thank you.

    Select all, first one selected must have the right position and size. Then use right-click menu, Align, align and resize of the same size.

  • How to create a pdf file of 4 pages of images - each page must be open to the same size

    How to create a 4-page pdf (from 4 images - all the same size) which opens each page in the format full page?

    Thank you very much.

    Ginger

    PREVIOUS MSG:

    My goal is to create multi page PDF files created from the images (scans of old brochures).  I get images (scans of pages) to the same size.

    I was able to create 4 PDF files (each opens in format full page) and merge into 1 pdf file.  When I opened this final pdf, I see a column of 4 pages, picture on page 1 being larger than the other 3. When I click on the left icon, page 1, I get the full page.  When I click on the icons for pages 2-4, I get nothing.  The only way I can get the other pages in a view full page is to adjust the scale after selecting the icon on the left.  This is not what I want.

    How I created the files.

    I can create pdf pages using Photoshop or Acrobat Pro itself through:

    File > create PDF > From File and adding each image.  I then, for each, choose Properties > initial view > Fit Page > save. Can I use file > combine > merge files into a single PDF > save.

    I have to open the multi page pdf file.

    I appreciate all help.

    Thank you

    Ginger

    PREVIOUS MS

    If you use Photoshop, have you not thought about having a 4 layer Photoshop file and make sure that all images appear on separtate layers you would like them to appear in PDF format.

    You should then be able to save in PDF via Photoshop and D command to bring up the properties of the document, obtained in the initial view and select your choice of display preference.

    Hope this helps

  • I made my largest site and how can keep the same size for all other sites?

    I did the 2 larger site and how to keep the same size for all pages when I re - open the web browser?

    You can use an extension to set a page zoom and the size of the default font on the web pages.

  • (1) is there a function for all the object of the same size?

    (1) is there a function for all the object of the same size?

    Sorry, I thought you wanted to align the objects.

    We do not have the function to make items of the same size. You must change one by one. To change the .lks file may be more effective.

  • Whenever I have download my photos in the photo gallery, the icons of all out like the same generic image

    Whenever I have download my photos in the photo gallery, the icons of all out like the same generic image for each photo, instead of actual miniatures of the photo itself.  I can't find the pictures I'm looking.  Why is this happening and how can I solve this problem?

    This parameter can be:

    (1) open Folder Options (search for your search box on the start menu to find)

    (2) on the display tab, verify that the "always show icons never thumbnails" is off (disabled)

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • I can't run exe because I get this: the game archive file of the items is missing. You need all parts in the same folder... etc this is after I clicked on and ran "... win64.7z."

    I can't run exe because I get this: the game archive file of the items is missing. You need all parts in the same folder... etc this is after I clicked on and ran "... win64.7z what is the problem?

    You must place the .7z and .exe inside the same folder, and then double-click on the .exe file.

  • I download upgrade assets 13, items 9, 2 files to download, after that 1 of the 2 loaded 2nd file will not download message indicates that the part of the Archives of photoshop 13 is missing. you need all parts in the same folder. What should do?

    I download upgrade assets 13, items 9, 2 files to download, after that 1 of the 2 loaded 2nd file will not download message indicates that the part of the Archives of photoshop 13 is missing. you need all parts in the same folder. What should do?

    You can also try to download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    Photoshop/Premiere Elements 13: http://prodesigntools.com/photoshop-elements-13-direct-download-links-premiere.html

  • Paste my doc Microsoft Word of 321 pages in InDesign shows only the first page, and sizes are all have done the same thing.

    When I paste my doc Microsoft Word of 321 pages in InDesign.

    (1) only the first page is displayed even if the captain said 231, and

    (2) all words are in the same size instead of what was in Word.

    Thank you.

    Do not glue, use file > Place... and hold down the SHIFT key when you click the loaded cursor.

  • not the same size of the image when I import it

    I want to import an e imagexactly the same size he is, but I can't do...

    someone at - it an idea? Thank you.

    I'm using flash pro cs5.

    Hi Jakob,

    Try this first-

    (1) Insert the following code into a new document and check the system screenDPI:

    import flash.system.Capabilities;

    trace ("Capabilities.screenDPI:" + Capabilities.screenDPI);

    (2) If for example, the output is 72 dpi, when you import an image, it seems that Flash is resized to match what he thinks it's the resolution of the screen and in this case, its 72 dpi. So if the image has a higher resolution, he dimensionnera it down.

    You can try the following-

    Create an image in Photoshop with say 300 dpi. Create a new one with a 72 dpi. Import both of them in Flash. The first image will be scaled down, but the second image retains its original size.

    The solution is to make sure the graphic that you import is 72 dpi resolution.

    You can use an image editor like IrfanView to check or adjust the DPI of the image that you use.

    Let me know if it helps.

    Thank you and best regards,

    Roger Simon

    Adobe Flash Professional Team.

Maybe you are looking for

  • Questions for access to the synchronized iCloud songs

    Hello I have problems when trying to access previously synchronized in iCloud with no local copy of the song. The song is grayed out, I can't play, there is no way to download a local copy. It appears in my library, but I can't play, it's as if it wa

  • Satellite A105-S2141 - software compatibility problem Modem region

    Hello!I have a Toshiba Satellite A105-S2141 computer laptop bought in the United States. I am currently in a small country knowm as "Maldives" and unable to successfully connect and use the modem connection. The selection of region internal modem uti

  • operation of slow Safari

    What is the reason for which, if all this safari is slow all of a sudden

  • Factory reset does not work

    I have a Nighthawk X 8 I bought two months ago. Up to today (March 7), it worked fine. Today I came home and found it did not work. I tried to access it via routerlogin.net, nothing worked. I tried factory reset using a toothpick about 5 times now, b

  • Impossible to access anything

    I can't access windows update Web page or can download anything on microsoft.com