Placing images on a path

i have multiple images i want to place on a cruved path. how can i go about doing this?
cheers,

I would draw the path and then turn on Smart Guides (CMD+U) to snap a particular point on the images along the path. See my attached screenshot. I did this with rectangles, but you could also use placed images. Then just delete the curved line when you are done using it for placement.
-JM

Similar Messages

  • Want to get placed images Dimension and Creation Date in Catalog

    Below is the script which is free with CS4. Is there anybody who can modify this script in a way which provide the creation date and dimension of the images in image catalog.
    //ImageCatalog.jsx
    //An InDesign C4 JavaScript
    @@@BUILDINFO@@@ "ImageCatalog.jsx" 2.0.0 5-December-2007
    //Creates an image catalog from the graphic files in a selected folder.
    //Each file can be labeled with the file name, and the labels are placed on
    //a separate layer and formatted using a paragraph style ("label") you can
    //modify to change the appearance of the labels.
    //For more information on InDesign scripting, go to http://www.adobe.com/products/indesign/scripting/index.html
    //Or visit the InDesign Scripting User to User forum at http://www.adobeforums.com .
    //The myExtensions array contains the extensions of the graphic file types you want
    //to include in the catalog. You can remove extensions from or add extensions to this list.
    //myExtensions is a global. Mac OS users should also look at the file types in the myFileFilter function.
    main();
    function main(){
    var myFilteredFiles;
    //Make certain that user interaction (display of dialogs, etc.) is turned on.
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    myExtensions = [".jpg", ".jpeg", ".eps", ".ps", ".pdf", ".tif", ".tiff", ".gif", ".psd", ".ai"]
    //Display the folder browser.
    var myFolder = Folder.selectDialog("Select the folder containing the images", "");
    //Get the path to the folder containing the files you want to place.
    if(myFolder != null){
       if(File.fs == "Macintosh"){
        myFilteredFiles = myMacOSFileFilter(myFolder);
       else{
        myFilteredFiles = myWinOSFileFilter(myFolder);
       if(myFilteredFiles.length != 0){
         myDisplayDialog(myFilteredFiles, myFolder);
         alert("Done!");
    //Windows version of the file filter.
    function myWinOSFileFilter(myFolder){
    var myFiles = new Array;
    var myFilteredFiles = new Array;
    for(myExtensionCounter = 0; myExtensionCounter < myExtensions.length; myExtensionCounter++){
      myExtension = myExtensions[myExtensionCounter];
            myFiles = myFolder.getFiles("*"+ myExtension);
      if(myFiles.length != 0){
       for(var myFileCounter = 0; myFileCounter < myFiles.length; myFileCounter++){
        myFilteredFiles.push(myFiles[myFileCounter]);
    return myFilteredFiles;
    function myMacOSFileFilter(myFolder){
    var myFilteredFiles = myFolder.getFiles(myFileFilter);
    return myFilteredFiles;
    //Mac OS version of file filter
    //Have to provide a separate version because not all Mac OS users use file extensions
    //and/or file extensions are sometimes hidden by the Finder.
    function myFileFilter(myFile){
    var myFileType = myFile.type;
    switch (myFileType){
      case "JPEG":
      case "EPSF":
      case "PICT":
      case "TIFF":
      case "8BPS":
      case "GIFf":
      case "PDF ":
       return true;
       break;
      default:
      for(var myCounter = 0; myCounter<myExtensions.length; myCounter++){
       var myExtension = myExtensions[myCounter]; 
       if(myFile.name.indexOf(myExtension)>-1){
        return true;
        break;  
    return false;
    function myDisplayDialog(myFiles, myFolder){
    var myLabelWidth = 112;
    var myStyleNames = myGetParagraphStyleNames(app);
    var myLayerNames = ["Layer 1", "Labels"];
    var myDialog = app.dialogs.add({name:"Image Catalog"});
    with(myDialog.dialogColumns.add()){
      with(dialogRows.add()){
       staticTexts.add({staticLabel:"Information:"});
      with(borderPanels.add()){
       with(dialogColumns.add()){
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Source Folder:", minWidth:myLabelWidth});
         staticTexts.add({staticLabel:myFolder.path + "/" + myFolder.name});
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Number of Images:", minWidth:myLabelWidth});
         staticTexts.add({staticLabel:myFiles.length + ""});
      with(dialogRows.add()){
        staticTexts.add({staticLabel:"Options:"});
      with(borderPanels.add()){
       with(dialogColumns.add()){
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Number of Rows:", minWidth:myLabelWidth});
         var myNumberOfRowsField = integerEditboxes.add({editValue:3});
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Number of Columns:", minWidth:myLabelWidth});
         var myNumberOfColumnsField = integerEditboxes.add({editValue:3});
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Horizontal Offset:", minWidth:myLabelWidth});
         var myHorizontalOffsetField = measurementEditboxes.add({editValue:12, editUnits:MeasurementUnits.points});
        with(dialogRows.add()){
         staticTexts.add({staticLabel:"Vertical Offset:", minWidth:myLabelWidth});
         var myVerticalOffsetField = measurementEditboxes.add({editValue:24, editUnits:MeasurementUnits.points});
        with (dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Fitting:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myFitProportionalCheckbox = checkboxControls.add({staticLabel:"Proportional", checkedState:true});
          var myFitCenterContentCheckbox = checkboxControls.add({staticLabel:"Center Content", checkedState:true});
          var myFitFrameToContentCheckbox = checkboxControls.add({staticLabel:"Frame to Content", checkedState:true});
        with(dialogRows.add()){
          var myRemoveEmptyFramesCheckbox = checkboxControls.add({staticLabel:"Remove Empty Frames:", checkedState:true});
      with(dialogRows.add()){
        staticTexts.add({staticLabel:""});
      var myLabelsGroup = enablingGroups.add({staticLabel:"Labels", checkedState:true});
      with (myLabelsGroup){
       with(dialogColumns.add()){
        //Label type
        with(dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Label Type:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myLabelTypeDropdown = dropdowns.add({stringList:["File name", "File path", "XMP description", "XMP author"], selectedIndex:0});
        //Text frame height
        with(dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Label Height:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myLabelHeightField = measurementEditboxes.add({editValue:24, editUnits:MeasurementUnits.points});
        //Text frame offset
        with(dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Label Offset:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myLabelOffsetField = measurementEditboxes.add({editValue:0, editUnits:MeasurementUnits.points});
        //Style to apply
        with(dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Label Style:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myLabelStyleDropdown = dropdowns.add({stringList:myStyleNames, selectedIndex:0});
        //Layer
        with(dialogRows.add()){
         with(dialogColumns.add()){
          staticTexts.add({staticLabel:"Layer:", minWidth:myLabelWidth});
         with(dialogColumns.add()){
          var myLayerDropdown = dropdowns.add({stringList:myLayerNames, selectedIndex:0});
            var myResult = myDialog.show();
            if(myResult == true){
       var myNumberOfRows = myNumberOfRowsField.editValue;
       var myNumberOfColumns = myNumberOfColumnsField.editValue;
       var myRemoveEmptyFrames = myRemoveEmptyFramesCheckbox.checkedState;
       var myFitProportional = myFitProportionalCheckbox.checkedState;
       var myFitCenterContent = myFitCenterContentCheckbox.checkedState;
       var myFitFrameToContent = myFitFrameToContentCheckbox.checkedState;
       var myHorizontalOffset = myHorizontalOffsetField.editValue;
       var myVerticalOffset = myVerticalOffsetField.editValue;
       var myMakeLabels = myLabelsGroup.checkedState;
       var myLabelType = myLabelTypeDropdown.selectedIndex;
       var myLabelHeight = myLabelHeightField.editValue;
       var myLabelOffset = myLabelOffsetField.editValue;
       var myLabelStyle = myStyleNames[myLabelStyleDropdown.selectedIndex];
       var myLayerName = myLayerNames[myLayerDropdown.selectedIndex];
       myDialog.destroy();
       myMakeImageCatalog(myFiles, myNumberOfRows, myNumberOfColumns, myRemoveEmptyFrames, myFitProportional, myFitCenterContent, myFitFrameToContent, myHorizontalOffset, myVerticalOffset, myMakeLabels, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle,  myLayerName);
      else{
       myDialog.destroy();
    function myGetParagraphStyleNames(myDocument){
    var myStyleNames = new Array;
    var myAddLabelStyle = true;
    for(var myCounter = 0; myCounter < myDocument.paragraphStyles.length; myCounter++){
      myStyleNames.push(myDocument.paragraphStyles.item(myCounter).name);
      if (myDocument.paragraphStyles.item(myCounter).name == "Labels"){
       myAddLabelStyle = false;
    if(myAddLabelStyle == true){
      myStyleNames.push("Labels");
    return myStyleNames;
    function myMakeImageCatalog(myFiles, myNumberOfRows, myNumberOfColumns, myRemoveEmptyFrames, myFitProportional, myFitCenterContent, myFitFrameToContent, myHorizontalOffset, myVerticalOffset, myMakeLabels, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle,  myLayerName){
    var myPage, myFile, myCounter, myX1, myY1, myX2, myY2, myRectangle, myLabelStyle, myLabelLayer;
    var myParagraphStyle, myError;
    var myFramesPerPage = myNumberOfRows * myNumberOfColumns; 
    var myDocument = app.documents.add();
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;
    var myDocumentPreferences = myDocument.documentPreferences; 
    var myNumberOfFrames = myFiles.length;
    var myNumberOfPages = Math.round(myNumberOfFrames / myFramesPerPage);
    if ((myNumberOfPages * myFramesPerPage) < myNumberOfFrames){ 
      myNumberOfPages++;
    //If myMakeLabels is true, then add the label style and layer if they do not already exist.
    if(myMakeLabels == true){
      try{
       myLabelLayer = myDocument.layers.item(myLayerName);
       //if the layer does not exist, trying to get the layer name will cause an error.
       myLabelLayer.name;
      catch (myError){
       myLabelLayer = myDocument.layers.add({name:myLayerName});
      //If the paragraph style does not exist, create it.
      try{
       myParagraphStyle = myDocument.paragraphStyles.item(myLabelStyle);
       myParagraphStyle.name;
      catch(myError){
       myDocument.paragraphStyles.add({name:myLabelStyle});
    myDocumentPreferences.pagesPerDocument = myNumberOfPages; 
    myDocumentPreferences.facingPages = false; 
    var myPage = myDocument.pages.item(0); 
    var myMarginPreferences = myPage.marginPreferences;
    var myLeftMargin = myMarginPreferences.left; 
    var myTopMargin = myMarginPreferences.top; 
    var myRightMargin = myMarginPreferences.right; 
    var myBottomMargin = myMarginPreferences.bottom; 
    var myLiveWidth = (myDocumentPreferences.pageWidth - (myLeftMargin + myRightMargin)) + myHorizontalOffset
    var myLiveHeight = myDocumentPreferences.pageHeight - (myTopMargin + myBottomMargin)
    var myColumnWidth = myLiveWidth / myNumberOfColumns
    var myFrameWidth = myColumnWidth - myHorizontalOffset
    var myRowHeight = (myLiveHeight / myNumberOfRows)
    var myFrameHeight = myRowHeight - myVerticalOffset
    var myPages = myDocument.pages;
    // Construct the frames in reverse order. Don't laugh--this will 
    // save us time later (when we place the graphics). 
    for (myCounter = myDocument.pages.length-1; myCounter >= 0; myCounter--){ 
      myPage = myPages.item(myCounter);
      for (var myRowCounter = myNumberOfRows; myRowCounter >= 1; myRowCounter--){ 
       myY1 = myTopMargin + (myRowHeight * (myRowCounter-1));
       myY2 = myY1 + myFrameHeight;
       for (var myColumnCounter = myNumberOfColumns; myColumnCounter >= 1; myColumnCounter--){ 
        myX1 = myLeftMargin + (myColumnWidth * (myColumnCounter-1));
        myX2 = myX1 + myFrameWidth;
        myRectangle = myPage.rectangles.add(myDocument.layers.item(-1), undefined, undefined, {geometricBounds:[myY1, myX1, myY2, myX2], strokeWeight:0, strokeColor:myDocument.swatches.item("None")}); 
    // Because we constructed the frames in reverse order, rectangle 1 
    // is the first rectangle on page 1, so we can simply iterate through 
    // the rectangles, placing a file in each one in turn. myFiles = myFolder.Files; 
    for (myCounter = 0; myCounter < myNumberOfFrames; myCounter++){ 
      myFile = myFiles[myCounter]; 
      myRectangle = myDocument.rectangles.item(myCounter);
      myRectangle.place(File(myFile));
      myRectangle.label = myFile.fsName.toString();
      //Apply fitting options as specified.
      if(myFitProportional){
       myRectangle.fit(FitOptions.proportionally);
      if(myFitCenterContent){
       myRectangle.fit(FitOptions.centerContent);
      if(myFitFrameToContent){
       myRectangle.fit(FitOptions.frameToContent);
      //Add the label, if necessary.
      if(myMakeLabels == true){
       myAddLabel(myRectangle, myLabelType, myLabelHeight, myLabelOffset, myLabelStyle, myLayerName);
    if (myRemoveEmptyFrames == 1){ 
      for (var myCounter = myDocument.rectangles.length-1; myCounter >= 0;myCounter--){ 
       if (myDocument.rectangles.item(myCounter).contentType == ContentType.unassigned){
        myDocument.rectangles.item(myCounter).remove();
       else{
        //As soon as you encounter a rectangle with content, exit the loop.
        break;
    //Function that adds the label.
    function myAddLabel(myFrame, myLabelType, myLabelHeight, myLabelOffset, myLabelStyleName, myLayerName){
    var myDocument = app.documents.item(0);
    var myLabel;
    var myLabelStyle = myDocument.paragraphStyles.item(myLabelStyleName);
    var myLabelLayer = myDocument.layers.item(myLayerName);
    var myLink =myFrame.graphics.item(0).itemLink;
    //Label type defines the text that goes in the label.
    switch(myLabelType){
      //File name
      case 0:
       myLabel = myLink.name;
       break;
      //File path
      case 1:
       myLabel = myLink.filePath;
       break;
      //XMP description
      case 2:
       try{
        myLabel = myLink.linkXmp.description;
        if(myLabel.replace(/^\s*$/gi, "")==""){
         throw myError;
       catch(myError){
        myLabel = "No description available.";
       break;
      //XMP author
      case 3:
       try{
        myLabel = myLink.linkXmp.author
        if(myLabel.replace(/^\s*$/gi, "")==""){
         throw myError;
       catch(myError){
        myLabel = "No author available.";
       break;
    var myX1 = myFrame.geometricBounds[1];
    var myY1 = myFrame.geometricBounds[2] + myLabelOffset;
    var myX2 = myFrame.geometricBounds[3];
    var myY2 = myY1 + myLabelHeight;
    var myTextFrame = myFrame.parent.textFrames.add(myLabelLayer, undefined, undefined,{geometricBounds:[myY1, myX1, myY2, myX2], contents:myLabel});
    myTextFrame.textFramePreferences.firstBaselineOffset = FirstBaseline.leadingOffset;
    myTextFrame.parentStory.texts.item(0).appliedParagraphStyle = myLabelStyle;   

    "Scripting Forum Conduct
    While this forum is a great place to get scripting help, it's also very easy to misuse it. Before using this forum, please read this post!"

  • Add Strokes to Placed Images in Illustrator

    Hi All,
    I'm having a problem to add a stroke "frame" around my tiff image in Illustrator. My image is a "traced picture" from Photoshop. I used the following technique:-
    Technique: Use an Effect
    Choose File > Place and select an image to place into Illustrator document.
    Choose File > Place and select an image to place into Illustrator document.
    The image is selected. Open Appearance panel and from the Appearance panel flyout menu, choose Add New Stroke.
    With the Stroke highlighted in the Appearance panel, choose Effect > Path > Outline Object.
    However, the result I got was the stroke around the image NOT the frame around the image.
    How do I  achieve it. Any help and tips are greatly appreciated. Thanks in advance.

    Technique #1: Use a Mask
    This technique requires Illustrator CS3 and works only when your keyline will be rectangular in shape.
    Choose File > Place and choose an image to place into your Illustrator document. You can either Link or Embed the image. Once you've chosen the image, click the Place button.
    The image is selected (if your image already exists in your document, select it now), so if you look in your Control panel at the top of the screen, you'll see a button labeled "MASK". Click on it. This creates a mask at the exact bounds of the image.
    Press the "D" key for Default. This gives the mask a black 1 pt stroke attribute. Adjust the stroke per your design needs.
    NOTE: An additional benefit to this method of using a mask is that you now have the elements in place to simulate a "frame and image" paradigm like InDesign. Once you've created your mask, you can decide to "crop" your image by double clicking anywhere on the photo. This will put you into Isolation Mode. Now click on the frame edge and resize at will. When you're done, double click outside the image to exit isolation mode and continue working. This method works wonderfully when you're using the Selection tool (black arrow) and have the Bounding Box option turned on (in the View menu).
    Technique #2: Use an Effect
    At first, it may seem that applying a keyline with the use of an Effect is a tedious process. But we all know that once we've applied an effect, we can store it as a Graphic Style, at which point applying our keyline will become a single click. Go ahead, ask me why Adobe doesn't ship Illustrator with such an effect as a default setting in the NDPs (New Document Profiles). Go ahead, ask me why Adobe doesn't allow us to assign keyboard shortcuts to styles like InDesign does. I don't have answers to either of those questions (sorry). But let's get on with the styles, shall we?
    There are two separate effects that we can use, and each provides a different benefit.
    Choose File > Place and select an image to place into your Illustrator document. You can either Link or Embed the image. Once you've chosen the image, click the Place button.
    The image is selected (or if your image already exists in your document, select it). Open your Appearance panel and from the Appearance panel flyout menu, choose Add New Stroke. We can't see the stroke yet, because all we have is an image. But we'll change that in short order.
    With the Stroke highlighted in the Appearance panel, choose Effect > Convert to Shape > Rectangle. Check the Preview button, select the Relative option, and set both the Extra Width and Extra Height to zero (0). (Be careful not to press Tab after you enter the second value, or it will switch back to Absolute.) Click OK to apply the effect. Style the stroke attribute to match your design preference.
    Now make this easier to apply in the future. With the object still selected, open the Graphic Styles panel and click the New Graphic Style button at the bottom of the panel. Give the style an appropriate name. If you then add this style to your NDPs, it will be readily available in all new files that you create.
    Add Strokes to Placed Images in Illustrator | CreativePro.com

  • InDesign Crashes while placing images on document.

    Hi All,
    I am facing problem and i am stuck at this point.
    I download an image in a folder and place it in graphic box using IImportExportFacade's ImportAndLoadPlaceGun method it is working fine, but when i delete placed image from folder then it becomes as missing link after that if I download the same image at same path and try to place in another graphic box using same above API then indesign get crashed.
    What is problem Any idea?
    Please help me if anyone having same isuue i need to fix it urget.
    Thanks in advance.
    Regards
    Tahir.

    Does it happen in other files withthe same image(s)? How about in a new user?

  • Newly placed images not showing up and Text Styles not previewing correctly

    I was playing around with defining new text styles and they
    looked OK in Dreamweaver but when previewed in browser everything
    was in Times. I deleted all the pre-set styles trying to fix the
    problem out why when I realized now newly placed images don't show
    up in preview, but old images will. I can copy and paste an
    existing image and it will show, but not if I place it new. When
    trying to Manage Site, I kept getting a "Home page is not on
    this...." message. Please help me figure out what I have
    done!!!

    >Home page is not on this...
    Several possibilities spring to mind the first of which is
    you haven't
    defined your site properly or at all
    >previewed in browser everything was in Times
    a link to your stylesheet has an incorrect path
    >realized now newly placed images don't show up in
    preview,
    they should, defined site again?
    If you have a URL we could see the code?
    If not can you post the code here, otherwise these are all
    guesses
    Jo
    "chas0616" <[email protected]> wrote in
    message
    news:esa2uh$h4d$[email protected]..
    >I was playing around with defining new text styles and
    they looked OK in
    > Dreamweaver but when previewed in browser everything was
    in Times. I
    > deleted
    > all the pre-set styles trying to fix the problem out why
    when I realized
    > now
    > newly placed images don't show up in preview, but old
    images will. I can
    > copy
    > and paste an existing image and it will show, but not if
    I place it new.
    > When
    > trying to Manage Site, I kept getting a "Home page is
    not on this...."
    > message.
    > Please help me figure out what I have done!!!
    >

  • White lines appear around placed images in printing.

    A native Illustrator document with placed Photoshop (both CS6) images produces whites lines around the placed images when printed.  The Illustrator document does not show white lines on screen.  Nor does the PDF (Acrobat X Pro) generated from the IA doc show white lines when viewed on screen.  When the document goes to press, the printed product show the white lines:
    See upper left image and lower right image-note: other images are not affected.  Both both are native Photoshop images, placed on a gradient in IA.  Perhaps the PDF settings: "Adobe PDF Preset" or "Standard" are not chosen correctly?  Why the white lines?

    You screenshot shows a modified Illustrator Default preset with Compatability to Acrobat 4. That setting always flattens transparency which is what I would suggest avoiding first.
    Note the Warnings summary alerts that transparency will be flattened.
    garlic541 wrote:
    2.That same initial 'Save Adobe PDF' widow allows for three settings: Adobe PDF Preset (12 choices); Standard (6 choices), and Compatibility (5 choices).  Note how the window signals a Warning (Warnings: Saving this file with Compatibilty set to Acrobat 4 (PDF 1.3) requires items with transparency to be flattened.)  Could this be a warning that produces the stitch lines in the actual printing? 
    Yes
    garlic541 wrote:
    After researching....
    Discussion seems to indicate seeing 'stiching lines' on screen; sometimes in the designing application; or in the generated PDF.  My instances are visible only in printing-in two of the four images.
    1. Transparency.  Is this an automatic occurence in generating the PDF?  Can I turn it on/off? (The 'Save Adobe PDF' window that allows changes to: General, Compression, Marks & Bleeds,Output,, Advanced.....)
    Transparency is part of some design and all Effects. Note that you can change a color by using a tint or by setting it's transparency. Many times a tint will suffice. It looks the same and has the same values.
    Your original screenshot apears to use images with clipping paths. (Full disclosure - I should know this, but don't...I expect) clipping paths require/invoke the transparent background to place the images within the colored area.
    You cannot get around transparency but flattening converts vector objects to raster objects (when transparency touches/abuts/interacts with raster images).
    You should be able to use the Illustrator Default, High Quality Print or PDFX-4 to maintain live transparency
    2 very old (2004) Adobe white papers, not too legnthy which I can shed some light. Note - PDFX-4 superceeds all of these.
    Transparency in Adobe Applications: A Print Production Guide
    A Designer's Guide to Transparency for Print Output

  • Placing Image - InDesign vs InDesignServer

    I have a script that correctly places images in tagged rectangles via script in InDesign, the script then exports to PDF. All is well.
    When I run the same script with the same image path folder structure in InDesignServer, the exported PDF does not show the 'placed' images. I'm getting no errors in my console.
    Early in the script I have;
    myInDesign.imagePreview = True
    I place the images with;
    myRectangle.Place myFile, False
    myRectangle.fit 1668247152
    myRectangle.fit 1667591779
    for each myItem in myRectangle.items
         myItem.itemLink.unlink
    next
    I've tried it with and without the .unlink code (an attempt to force embedding of the images)
    In all other aspects the script works the same on ID as IDS. I'm starting my ID CS6 server with InDesignServer -previews
    I suspect I'm missing something with the PDF export preferences, but have no idea why it's working on ID and not on IDS.
    Any help greatly appreciated.

    I'm not able to post all the code, but here's a stripped down version with all the important parts... The only line that differs from ID vs ID Server is the first line...
    'Set myInDesign = CreateObject("InDesignServer.Application")
    Set myInDesign = CreateObject("InDesign.Application")
    Set myDocument = myInDesign.Open(strTemplateFilename )
    Set myPage = myDocument.Pages.Item(1)
    set myPageItems = myPage.PageItems
    set myRectangles = myPage.Rectangles
    myInDesign.imagePreview = True
    myInDesign.findTextPreferences = Nothing
    myInDesign.changeTextPreferences = Nothing
    ' change some text
    myInDesign.findTextPreferences.findWhat = "[" & strattrname & "]"
    myInDesign.changeTextPreferences.changeTo = strattrvalue
    myDocument.changeText()
    ' change the image in the targeted rectangle
    for each myRectangle in myRectangles
      if myRectangle.Label = strattrname then
       myRectangle.Place strWorkingPath & strattrvalue, False
       myRectangle.fit 1668247152
       myRectangle.fit 1667591779
       for each myItem in myRectangle.items
        myItem.itemLink.unlink
       next
      end if
    next  
    ' save the document as a template (this will be sent to the printer)
    myDocument.Save strINDTOut, True
    ' perform a mailmerge of one record
    Set myDataProperties = myDocument.DataMergeProperties
    myDataProperties.SelectDataSource(strMergeSample)
    myDataProperties.DatamergePreferences.RecordsPerPage = 1684886386
    myDataProperties.DatamergePreferences.RecordNumber = 1
    ' export the one record merge document to PDF for sending preview
    myDataProperties.export strPDFOut
    It works fine in ID, leaves the images empty(blank) when performed in IDServer. Both are up-to-date current versions - although IDS is still in 90 trial period.
    Any help appreciated.

  • Read metadata of placed image (CS4-Applescript)

    Is it possible to read the metadata (description field, ...) of a placed image using CS4 & Applescript, and what is the syntax?
    Thanks,
    Peter

    Hello all,
    It looks like it has been a while since this thread was active, however I thought I'd give it a shot.
    I'm trying to do the same thing as the OP. But specifically I'm trying to capture the InstanceID from the Media Management Schema.
    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
                xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#">
             <xmpMM:OriginalDocumentID>xmp.did:2C9BA0F20F2068118B12C50AA55392B0</xmpMM:OriginalDocumen tID>
             <xmpMM:DocumentID>xmp.did:2C9BA0F20F2068118B12C50AA55392B0</xmpMM:DocumentID>
             <xmpMM:InstanceID>xmp.iid:E324D45D2A2068118F62CC41CFB88906</xmpMM:InstanceID>
             <xmpMM:PreservedFileName>TKTKTKTK.dng</xmpMM:PreservedFileName>
    I'm using Indesign CS5, and looking in the AppleScript Dictionary, I see:
    get property v : Gets the XMP property value associated with the specified path.
    get property link metadata
    namespace text : The namespace of the property.
    path text : The specified path.
    → text : The associated property value.
    But, I can't work out the syntax. Any help would be appreciated.
    My end goal is to harvest the Instance IDs and then form them into a search query for a DAM.
    Many thanks.
    -Andrew Mannone
    EDIT: I figured out the syntax:
    tell application "Adobe InDesign CS5"
              tell document 1
                        tell links
                                  set linkInstanceIDList to get property link xmp namespace "http://ns.adobe.com/xap/1.0/mm/" path "InstanceID"
                        end tell
              end tell
    end tell
    Message was edited by: Andrew Mannone

  • CS4: crash with right-click on image with clipping path!

    I have a placed image. It is TIFF and has aPhotoshop Path. The path is not on when placed. Then I select the TIFF image and choose clipping > options.
    I select the Photoshop path.
    Now I want to change the path to a frame so I right-click on the image...
    Everytime in Mac OS X 10.5.5 the beachball cursor and I crash!

    EWh...no, it was NOT a faceless apllication. It had to do with a corrupted preference! Has to do with the 'Edit with' list, see also this post:
    F vd Geest (aka. Wa veghel), "CS4 crash on 'Edit with' how to solve?" #, 24 Dec 2008 9:31 am

  • Placing images in Illustrator

    Hi Adobe Community,
    Do placed images in illustrator have to be in vector form before you can expand or convert them to compound paths?
    Or is there a way of just using the placed images without having to trace it?
    The reason I ask is because I wanted to use the pathfinder pallete to separate, join or intersect objects along with the rest of its functions instead of simply clipping.
    Unfortunately, when I try and use the pathfinder options with a placed image without tracing it, it says the objects needs to be a path first. And I don't want to trace the image either because it just converts it to black and white when I'm only concerned with maintaining the original look.
    Thanks in advance for your help.

    paths are strings of vectors. if you want to use functions that involve intersecting objects made up of paths, then yes, they have to be vectors.

  • How to find out the Pixel Dimensions and Document Size of placed images?

    Is it possible to find out the placed image details like Pixel Dimensions(Width,Height) Document Size(Width,Height) in illustrator through scripting. Kindly advice me with some examples.

    http://www.adobeforums.com/webx/.3bbaa316.59b84fd8
    I hope the snippet therein will get you started.
    But after all, when you place an image via pi=layer.placedItems.add() it should pop in with its default dimensions, so that you have pi.height and pi.width ready.
    Is this what you are aiming at?

  • SCRIPT TO IMPORT MULTIPLE PLACED IMAGES..AND OUTPUT MULTIPLE IMAGES TO SINGLE PDF.

    Anyone got a script to import multiple placed images into CS4? or is this possible in CS5?
    and can we output multiple layers into a single PDF in illustrator?  Or multiple layers into single JPEGS from illustrator with one command instead of individually saving out each page... would be a huge time saver for me.
    Currently I output each completed layer individually and then right click those outputted jpegs in their output folder and choose "combine supported files into acrobat..." to make a single acrobat file..
    I`d also like to be able to CTRL click multiple layers and go save as... only those layers get saved out...
    And so adding something in the Save for PDF output dialogue box to save layers to multiple pages would be a helpful time saver..

    In CS 4 and CS 5 you can drag and drop fro m the finder or the Bridge, and I guess any other similar type viewer, multiple number of image files to a document. You can configure the bridge in such a way as to allow you to see the Bridge and your document at the same time for this very purpose.
    If you just drag and drop the files are linked if you drag while holding the shift key then the files will be embedded.
    ID and PS CS 5 have a minibridge which works the sam way but is an actually panel and will stay in the front.
    I separate the images but they import one on top of another.

  • How do I align a placed image in a frame using JS?

    I am new both to javascript and to scripting for InDesign, so please bear with me on this question.
    I am trying to align an image in a graphic frame so it aligns to the top right corner of the frame.
    I can do this using the InDesign interface by following these steps:
    1. Create a rectangular frame.
    2. Right-clicking the frame and selecting "Fitting > Frame Fitting Options."
    3. Selecting the top-right square in the "Alignment" area of the Frame Fitting Options dialogue.
    For me, this automatically aligns the image to the top right corner in the selected text frame, even if there is a placed item in the frame.
    I am trying to apply this to the actual image frame using the following code where "modelFrame" is the rectangle that is the parent of the placed image:
              modelFrame.frameFittingOptions.fittingAlignment.anchorPoint = AnchorPoint.TOP_RIGHT_ANCHOR;
    I am not getting an error, but I am also not getting the desired results (in fact, it doesn't change anythign at all). What am I doing wrong?

    Hi lanejd,
    I have got the same issue as you but had just found the solution. Please see below:
    modelFrame.frameFittingOptions.fittingAlignment.anchorPoint = AnchorPoint.TOP_RIGHT_ANCHOR;
    This will only set the properties for the Frame Fitting Options. You will need to call a method/function. Add the below line to your script and it will execute the Frame fitting Options.
    modelFrame.fit(FitOptions.applyFrameFittingOptions);
    Hope this help!

  • My InDesign program is printing my placed images lighter than illustrator.

    I am trying to print a colour logo in Indesign with black type on my inkjet printer.  The colours are appearing fine on screen and so is the black but when I print everything is washed out.  I tried just printing a black box and it appears black on screen but in print it is grey.  I have tried changing the preferences Appearance of Black to rich and accurate but that did not make a difference.  Do I need to do anything in color management I am using Indesign CS2.  How can I solve this problem?

    Acrobat worked, thanks for that advice.   I set my Convert to Profile under the Edit Menu to  Color
    Match RGB.  That helped a little bit but it is not printing like the
    pdf.  I would like to get this problem resolved. I normally use
    illustrator most of my work.  But I would like to have InDesign working
    properly as I need it to do other jobs.
    Take Care,
    Jen
    Take Care,
    Jen
    Date: Fri, 14 Aug 2009 14:24:47 -0600
    From: [email protected]
    To: [email protected]
    Subject: My InDesign program is printing my placed images lighter than illustrator.
    Jen,
    This is a problem that you have no time to fool with, correct?
    When printing from InDesign and all looks hopeless, export to PDF and print from the PDF.
    Why?
    I don't know for sure but it seems all printers made recently accept PDF better than straight from InDesign. It could be the printer driver and it could be InDesign but you don't have time to mess with it now. Wait for some free time to sort it out, but for now output to PDF and print from Adobe Reader or Acrobat.
    >

  • Create Pattern Swatch from Placed Image in Javascript

    I need to create a large number of pattern swatches from some .jpg file on disk. I've figured out how to script the insertion of the .jpgs into my AI document as placed images:
         // Embed the image into the document.
         file = new File("MyImage.jpg");
         var document = app.activeDocument;
         var newPlaced = document.layers["swatches"].groupItems.createFromFile(file);
         newPlaced.name = "MyImage_Placed";
    This works fine and the item shows up in the correct layer as an embedded image.
    Now I want to create a PatternSwatch (I think) from that Image.
    To create a new swatch the code starts out as:
         newSwatch = document.swatches.add();
         newSwatch.name = "MyImage_Swatch";
    but now I'm stuck! How do I associate the new PlacedItem with the swatch I just created? I can see the swatch in the palette so I'm partway there.

    When you say you would drag the image itself into the Swatch Palette and it would show the image itself? How would then use this swatch? Can you give an example of what you would apply a jpeg to as a swatch? The only palette that I can think of off the top of my head that you can drag a jpeg into and have the icon appear as the jpeg is the Symbols Palette. Is is possible that you were using the Symbols Palette in the past and not the Swatch Palette?

Maybe you are looking for