[cs4] [js] place the images in a folder

Hello, I'm sure it's pretty simple, but I can't wrap my head around it... How can I place all images in a folder in an indesign document? I want to be able to simply run the script, select the folder, and have the images all placed in the document.

Thank you!

place all the files in the folder selected on the 1st page of this document

If (app.documents.length! = 0) {}
myDoc var = app.activeDocument;
myFolder var is Folder.selectDialog ("select a file");.
If (myFolder! = null) {}
myFiles var = myFolder.getFiles ();
for (i = 0; i< myfiles.length;="" i++)="">
try {}
myDoc.pages [0] .place (myFiles [i]);
}
{} catch (MonErreur)
}
}
}
else {}
Alert ("' Please open a document and try again.");
}

Tags: InDesign

Similar Questions

  • I have a picture in the current folder that I can use to place the image on a page, but it is absent, if I try to hyperlink to it.  How to solve that?

    I use thimbnails which has a link to the expanded images.  I just loaded several file assets intothe images that I can then open and place the image on a page.  However, when I try to hyperlink to this image, the image is not listed in the assets.  Any ideas as to why and how to fix this?

    You should find the forum for any product it is and post your questions there.

    Here is a link to a page that provides links to all of the Adobe forums...

    The Forum links page: https://forums.adobe.com/welcome

  • HELP file, place the Image but will not go

    I converted a Word doc to html

    to be able to file, place images in blocks of text in CS4.

    When I file, place the image (was be a jpeg file), it placed, I turned and it reduces, but then it would not move.

    How to become mobile if I apply skin?

    If you place the image in the text block, so it is called inserted graphics and it doesn´t suppose to move around with the mouse more, it flows with the text.

    It s like a giant letter in your text.

    If you want to place your images in floating frames, Don t put them inside text blocks, drop them outside your page first, and then move them to the right places with the mouse or use X / coordinated in Control Panel.

    If you have need of your images still flows with the text, use the object anchor instead of inserted graphs...

  • Can you please tell me how I arrange and move the images in a folder like in XP, when I drag and drop a picture, it comes down to its original position

    Organize and rearrange the images in a folder named as in XP. You could organize by date, size, etc. and do drag and drop all in a folder, it is not possible in Windows 7

    Hi Halohodge,

    Welcome to the Microsoft Answers site!

    You can't manually rearrange files/images by dragging them in the folder in Windows 7. This change is design in Windows 7.

    If you have concerns or comments with respect to the question or any other Microsoft application, please see the links below and send the same:

    Microsoft Connect
    http://connect.Microsoft.com/

    Comments for Windows 7

    If you are referring to the reorganize by date, size, etc. then you can always do than simply right click and selecting the option of sort by in the drop-down list when it appears in the photo or file folder.

    Concerning
    Varun j: Microsoft Support
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to run a script for all the images in a folder?

    How to run a script for all the images in a folder?

    You can assign your script to an action, then use processor by batch or image with the option apply to all subfolders.

  • Manually PLACE the images and other files in illustrator

    I see a tutorial of computer graphics by Nigel French, in this tutorial, when the option to place Mr. Nigel used to import images or other illustrator Illustrator files don't auto not put images at the centre but asks where to place the images or how large an area to be covered by this image or file.

    I'm looking at this topic, but not found anything relating to this topic, I don't know if it comes to plugin or illustrator function/feature.

    I hope that you will answer me,

    Here are pictures of serious

    Place 2.JPGplace 3.JPG

    You mean that the 'Gun place' with the symbol "1/1" inside? ".

    This was added in Illustrator CS6 (16.2.1 creative cloud version). If you have a lower version, it isn't here.

  • Trying to place the Image in sheared framework

    Hi all

    I'm trying to place an image in a sheared environment (see screenshot).

    However, when you place the image, the image is sheared to match the image.

    Is it possible to place the photo, so it is level/square, but fills the sheared framework.

    Thank you!

    After you have placed the image, you can correct the sheer by selecting the content and adjusting to 0

  • Place the image into the picture box and culture

    How to place an image in a simple picture box so I can crop and create a link? I don't ' want a slide show.

    Hello

    In the menu file-> Place. Go to your image and click in your page of muse. This places the image in the Muse. By default, all images are placed in the context of the Image. Double click on the image to select the image, you will get the options of transformation, expand and collapse according to your requirement to adjust the image in the Image. Check out the video below to see what

    http://TV.Adobe.com/watch/learn-Adobe-Muse-CC/working-with-images-in-Muse/

    Hope this helps

  • What is the best way to place the image (with legend) in a book?

    I am preparing a model for an encyclopedia project, the encyclopedia will be in addition to 10000 pages, so what is the best way to place the images (Photos, graphic illustration,... etc) with a legend?

    The problem that when I change the text; the image does not move with it, and when I place it in the text, it is difficult to control text flow.

    Please help

    I think so, but it can be a little weird, if the position of the anchor is on the second page of a two page spread. Really, I jumped in to suggest the image and the legend of consolidation before anchoring.

  • Script to place the image folder to 100%, one image per page?

    I'm looking for a script that can drop a folder of images in an ID doc to 100%, one page per image, with the name of the file image below. I tried various Board-contact scripts, but these scale images to fit the page. I need the images to be placed at 100%, so a customer can view them to their exact size.

    Any help would be much appreciated. Thank you!

    Try this,

    var doc = app.activeDocument;
    var w =doc.documentPreferences.pageWidth;
    var h = doc.documentPreferences.pageHeight;
    doc.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    var _folder = Folder.selectDialog("Select a folder");
    var _files = _folder.getFiles();
    
    for(var i =0;i<_files.length;i++)
    {
            if(_files[i] instanceof File)
            {
                    var image = doc.pages.item(-1).place(_files[i]);
                    var gb = image[0].parent.geometricBounds;
                    var imageheight = gb[2] - gb[0];
                    var imagewidth = gb[3] - gb[1];
                    image[0].parent.geometricBounds = [(h-imageheight)/2,(w-imagewidth)/2,(h-imageheight)/2+imageheight,(w-imagewidth)/2+imagewidth];
                    image[0].parent.fit(FitOptions.CONTENT_TO_FRAME)
                    doc.pages.add(LocationOptions.AT_END);
                }
        }
    doc.pages.item(-1).remove();
    

    Kind regards

    Cognet

  • Place the Image inside the outline of text?

    Using CS4. I think that place an image inside a text outline was simple enough, but I can't understand it. Tried to use Clipping Path command with text converted to outlines, but did not work. What is the secret? Thank you.

    Or you can create a pattern of the image by dragging the image to the swatch Panel and assign the model to the fill of the text attribute.

  • Help place the images - why they appear to 150% and a bad image?

    Hello

    Relative newbie here.

    I have my display performace in InDesign too high. If I "place" an image or just simply slip it on the page, and little matter which image file format I use (tif, png, jpg, whatever), when placed, the images appear about 50% bigger than the source and low - ish quality. I have then to try to manually resize them so they look good on screen and when printed.

    • Why when I place images not appear 100%?
    • Is it possible to resize images other than striking handles resize and hoping for the best?

    Thank you very much.

    OK, if the balance indicates 100% with the direct Selection tool, that's what you have. Note that using the regular selection tool (the black arrow) will ALWAYS show 100% in the areas of scaling unless you have set your preferences to 'adjust scaling percentage', this is why you use the direct Selection tool to check. You can also select the image with the tool and look at the Info Palette. the real and effective ppi listed will be the same at 100%. What resolution is currently in the range of information?

    I asked vs click, click and drag because in CS4 when you drag an image is still growing the image to fit. That's not true in CS3.

    Screenshots are generally 72 ppi to size, they are captured. 72 DPI is low for most of the printed work, but no one expects very much in terms of quality for screenshots. You really place, right, is not dragging from Photoshop in ID, which is the equivalent of collage? Paste a picture gives you only the preview screen in CS3. I'm not sure you will see a difference with a screenshot, however, since the preview will be also 72 dpi.

    If the image is really too large on the page you can evolve in ID now the Ctrl + Shift keys while dragging a handle. You must press the keys before you click the mouse in Windows because there is a bug. You can also use the scale tool, or enter a new value of the scale in the areas of scaling. You can use actual dimensions in these areas if you include units, incidentally.

    In Photoshop, you can adapt the image using Image > Image size... If you uncheck the 'resample image' the resolutiuon will change inversely proportional to size, in order to reduce the size will increase the resolution, but there will be no difference in quality during the scaling in ID.

  • Ive now from blackberry to computer, but how do I copy the images from a folder on the blackberry

    synchronized my blackeberry laptop, but can not find how to copy a folder of photos to laptop off blackberry, when I hit import it just copied the images in the same folder on blackberry

    Hello

    Welcome to the Microsoft community!

    Want to know how to copy files from Blackberry to the computer.

    What is the model of the Blackberry device?

    I would suggest you can get assistance at the Blackberry for that matter support sites:

    BlackBerry support sites:

    http://supportforums.BlackBerry.com/T5/BlackBerry-Curve/transfer-pictures-to-computer/TD-p/205870

    http://us.BlackBerry.com/support.html

    If you need additional help, let us know and we would be happy to help you.

     

  • Move the image to one folder to another - E10

    I would like to move an image from one folder to another folder and I can't figure out how to do this.  Is this possible?  Does anyone know how?

    Thank you

    Vince

    It is not as intuitive Vince but you must drag up to navigation in folders, then release.

    I hope explains it to the captain.

    I have only one level of folders deep, but if you have folders in the folders, pretty sure that you can drag it above the folder that you want it to be, i.e. moving the image up a level.

  • Why LR6 displays all the images in a folder?

    I created a folder named "owls". He had 71 images, and all have been displayed by LR. I added 86 images in the folder outside of LR. These images have been copied in other folders. I asked LR to import images into this folder. All new images are grayed out and when I click on the 'owls' LR folder displays only the 71 original. What I am doing wrong?

    motto of Joseph wrote:

    Yes, the images that I moved into the folder "owls" had already been imported to another folder. If I work outside LR I have a picture of the scares of the towers in its original Desert Museum folder as well as in a second case, i.e. "owls".

    This is the prefect reason why keywords should be used to organize rather than records. You can assign two (or a lot more than two, there is no limit) keywords to the photo. It is one of the strengths of Lightroom! There is no need to duplicate the photo so that it can exist in two folders. There are many disadvantages to duplicate photos.

Maybe you are looking for