Apply the alternative text for all images in the doc

Hi all

I have a document with many images. All images are created in Illustrator and Photoshop that has the title information of document updated for each image.

When I place the image in InDesign, I have to manually select each frame image and change the option ObjectExport to XMP:Title , so that when I export the text to PDF format, the text will appear in the doc.

I wrote a script that launches an error message. Impossible to fine what could be the problem.

can anyone help with this

---------------

myRectangle = app.activeDocument.allGraphics;

myTotalImages = myRectangle.length;

for (var i = 0; i < myTotalImages; i ++)

{

myRectangle [i].objectExportOptions.actualTextSourceType = SourceType.SOURCE_XMP_TITLE;

}

---------------------------

Concerning

Ramji V K

Hey Anshul,

Thank you very much for your answer. It works fine now with your script.

Concerning

Ramji V K

Tags: InDesign

Similar Questions

  • CAN´t change 'alternative text' for images in trial version?

    CAN´t change 'alternative text' for images in trial version?

    Hello

    Trial version comes with all the features that don't exist in the paid version of Muse. It's just that you can use the trial version for 30 days. To change the text, please right-click on the Image and go to the properties of the image.

    See you soon!

    Aish

  • How to add legend for all images in the indesign document using indesign javscript

    I want to add the legend for all images in the indesign document...

    It's my code... im being of error like:

    invalid parameter.

    capset(2) ();

    function capset()

    {

    var doc = app.activeDocument;

    var myPicture = doc.allGraphics;

    var f, i, myCaption;

    While (PIC = myPicture.pop ())

    {

    f = pic.geometricBounds;

    Add a frame to the parent of the image, which is a Page

    myCaption = pic.parent.textFrames.add ();

    define the position and size of the legend

    myCaption.geometricBounds = [[2], [1], [2] Go + 3 GB [3]];

    Add the contents of the placeholder

    myCaption.contents = "Caption";

    PIC.parent.groups.Add ([pic, myCaption]);

    }

    }

    Hello

    Runing a code with your doc that you note possible occurrences (groups, the elements anchored, locked, etc items)

    This presupposes to exclude grouped and docked:

    capset ();
    
    function capset()
    {
    var
      mDoc = app.activeDocument,
      // anchored or grouped items excluded
      myGraphics = mDoc.splineItems.everyItem().getElements(),
      picContainer, gb, myCaption;
    while(picContainer = myGraphics.pop() )
    {
      // exclude empty frames
      if (!picContainer.graphics.length) continue;
      gb= picContainer.geometricBounds;
      // add a frame to to picture's parent, which is a Page
      myCaption = picContainer.parent.textFrames.add ();
      // set position and size of the caption
      myCaption.geometricBounds = [gb[2], gb[1], gb[2]+3, gb[3]];
      // add placeholder contents
      myCaption.contents = "Caption";
      mDoc.groups.add ([picContainer, myCaption]);
      }
    }
    

    Jarek

  • How can I increase the frames of number for all images (screen time).

    I have a slideshow in adobe elements 13 with 650 photos first.  After addinig "in/out fad" photos are not on screen long enough.  How can I increase the frames of number for all images (screen time).  There are currently over 90, and I turn to 150 executives.

    ludhianvi

    What version of Premiere Elements you are using and on what computer operating system is running?

    From your description of a term still image, you seem to be looking at the setting still Image default duration in Edit Menu/preferences/general.

    This parameter is used so that all the still images imported AFTER the game is done will be important in this project with whatever the setting. The unit for the adjustment is images. The default is 150 images (the equivalent of 5 seconds in a 30 frames per second). What you are telling us that the setting is currently 90 images (3 seconds) and you want to return to 150 senior (5 seconds). Once again, callback, which is for all images imported into the project ONCE defined.

    To avoid resetting it and re - import still images, you can adjust the length of image yet at the level of the timeline. This that you do, it will not change the Edit Menu/Settings/general still Image default duration = 90 images project which emerged these preferences settings.

    At the level of the timeline, select all images whose duration is from 3 to 5 seconds. Right-click anywhere in the selection, select Time Stretch.

    Duration of the Time Stretch 00 change dialog box. 00; 03; 00 00; 00; 05; 00 (hours, minutes, seconds; images).

    According to the position of the circumstances or a parent of the always involved, select it all is possible

    a. edit Menu/select all

    or

    b. using the mouse to draw a rectangle autour clips concerned to select

    or

    c. press and hold the SHIFT key on the main keyboard to the computer and clicking on each of the items.

    Please review and consider. If any questions or need any clarification, do not hesitate to ask.

    Thank you.

    RTA

  • Alternative text for the link

    I was wondering, how can I do an 'Alt' box appear for the links, so I can enter an alternative text for my links without adding in the code every time?

    -Very well, thank you. I don't know that I'll forget to enter the Alt tag for some links, so some will have it and others don't.

  • Acrobat set as program by default for all image files - must change.

    Acrobat is defined as default opening program for all my images - including jpg. The logon attempt, Acrobat reports inability to open the file. It's annoying and I would like to re - put whatever it is, I have to re - set. I know it's simple and obvious, but I can't understand it. Help me, please.

    Hello

    Please right-click on the file you want to open > in the drop-down list, select open with > choose program by default and select a program to open this file with.

    Concerning

    Sukrit diallo

  • Alternative text for Images does not appear in FF 4 b 2

    When you attempt to view the alt on images for websites text as XKCD, the text, which appears as a ToolTip in the previous version of Firefox, including 4 b 1, does not appear. Help!

    URL of affected sites

    http://xkcd.com

    Problems with ToolTips not working not properly have been reported to be due to the Google toolbar (Tools > Modules > Extensions)

    http://www.Google.com/tools/Firefox/toolbar/FT5/intl/en/
    http://Tools.Google.com/tools/Firefox/toolbar/FT5/intl/en/install.html

    See Troubleshooting extensions and themes and problems of hardware acceleration to resolve common Firefox problems

  • How to activate the reformatting of the smart text for all documents in a book?

    I have hundreds of documents I need to turn on Smart Text Reflow. Is it possible, via a script that I can activate this setting automatically, so I don't have to do it manually for each unique document?

    Ideally, I could run the script for each book file and be done with it.

    Thank you very much!

    Screen Shot 2016-01-19 at 12.57.43 PM.png

    Add them to one of the scripts:

    doc.textPreferences.addPages = AddPageOptions.END_OF_STORY;
    doc.textPreferences.limitToMasterTextFrames = true;
    doc.textPreferences.preserveFacingPageSpreads = false;
    doc.textPreferences.deleteEmptyPages = false;
    


    doc for Vamitul of the script, [i] docs for my version.

  • When using chargers for all images...

    A question about the programming style:

    I have an image gallery and am loading on a dozen inches that load an extension when it is clicked on each of them. Works just fine so far. But, as expected, there is a small break for each corresponding large image to appear.

    I would like to eliminate the wait, if possible, so here's my question: as a matter of preference or a style of programming, what you want to call it, you guys usually load ALL thumbnails firstly, images in the form of much larger images, before displaying what whether on the scene? Or you just load each image large when it is necessary, after clicking on the corresponding thumbnail?

    Sometimes I see sites very cool Flash that have the line percentLoaded or twirler displayed for what seems like a long time, but then each screen (MovieClip) after which shows quite quickly and I wonder if this is what is happening - all, or at least a LOT of the images are being preloaded.

    I learned a bunch of guys asking my / * beast * / questions in this forum and I appreciate the help. I still have a long way to go, however.

    THANKS for the tips.

    thumbnails, if they have small file sizes, I load successively (so they look nice as be displayed one by one).  large images I load with a display preloader at the point where you click on the thumbnail.

    Preload from the bottom of large images, I don't unless the customer specifically because there is more work to do and generally add much, in my opinion.

  • How can I create legends customized for each image (large) target displayed with the widget to the Gallery?

    Greetings!

    I'm having any joy with the thumbnails Gallery - with the exception of a customization widget, I would like to make.

    I would like to have descriptive legends custom unique each 'target' (large image) image displayed. I can see the legend box personalized, move, modify, etc, but this is fixed for all images in the gallery.

    How do I change each caption for each image of the target?

    Thank you very much

    JL

    Assuming you are talking "Vignettes" under "Slide shows" widget in the widget library, simply drag the widget on a page to insert it. Once inserted, make sure you have legends in reverse by clicking the widget inserted on the page, and then on the small blue arrow top right of the widget that appears once the widget itself is selected, and check the box called "Legends", this will add captions [Lorem Ipsum] to each photo, you can then at this point click or double-click the text "Lorem" on each photo and that you want it to be. I hope this helps.

  • Source Import Lightroom devices shows not all images on the card

    After importing images via the Lightroom Import Panel, I found that not all images on a card camera appear if "Source: devices" is selected.

    My camera creates a new image file (located in the DCIM folder) after 999 images taken by the camera. In this particular case, the images numbered _DSF0999. RAF and this is in the folder 110_Fuji and all that (for example, _DSF1000. RAF and above) is located in the 111_Fuji folder. However, Lightroom "Sources: Devices" (in this case, "Untitled") shows all the images in the second image file, 111 - Fuji. Only images in 110_Fuji are visible.


    "Copy all" is selected in the central part of the import Panel.

    The images are displayed if you select the card (in this case called "Untitled") in section "Files" from the dialog box import on the left side of the import Panel and check the box "include subfolders." It is not subfolders box or selection in the devices section of the import Panel, but rather a "eject after the entry" checkbox if the device is selected.

    Is this normal, or is there a way for all images on the card to be seen (and imported) through Sources: devices? Yet once, there is nothing like 'include subfolders' through Sources: devices, since it is in the section "Files" from the import Panel. Is there something that I am missing, or is this a bug? I looked through many books, google this deliverance, etc and I've not seen anything that addresses this issue. I usually just insert an SD card into a card reader and click on "import". The Lightroom import default settings of the control panel to the Sources: devices.

    Wadiest wrote:

    So, he was at least six months as this was reported and it has not been fixed or even recognized by Adobe? Awesome.

    This is the wrong forum. You can not "report" a bug to Adobe in this forum, and they don't recognize it in this forum.

    If you want to report a bug to Adobe and get a response, try here: http://feedback.photoshop.com/photoshop_family

  • How to set the alternate text for a framework anchored in FrameMaker 11?

    What is the procedure in FrameMaker 11 to include the alt for anchored frames text? We need produce a tagged PDF output is consistent accessibility; This output should include the alternate text for each image in the document that a screen reader can read.

    In previous versions of FrameMaker, it was possible to set the text as follows:

    1. Select the image and choose the graphics > properties of the object.
    2. Click on object attributes.
    3. In the text attributes section, add your text and the text and then click on set.

    FrameMaker online help describes the same procedure, to http://help.Adobe.com/en_US/FrameMaker/using/WSd817046a44e105e21e63e3d11ab7f7960b-7f0f.htm l . However, I see that in FrameMaker 11, you get the choice of graphics > properties of the object has changed from previous versions, and I can't see the object attributes.

    Where the text is defined for an object in FrameMaker 11?

    In the Panel of the anchored frame, click the button object attributes.

  • How can I restore all images in a collection at the original imported proportions?

    In general, I select all images in a catalog, resize the first image to 640 x 480.  I then right click on the first image (all images are always selected) click settings to develop, sync and choose to sync only the proportions.  All images are then cut to 640 x 480 as the first picture, that I then export to a folder.

    Then I need to restore all the images in the original proportions for creating a slide show export to my Web site.  I followed the same procedure is selected all the images, click on the first image, change the original appearance, right click on the first picture and sync proportions for all images.

    The problem is that the rest images do not return to their original proportions, but return to the aspect ratio of 4 x 6 instead of the original size when they are imported.  I changed the lock open and tried both but still no result.  Now I have to select each image individually, open the dialog of cultures and choose custom to retrieve for the imported image format.

    How do I batch restore images from a collection to the image format when imported?

    I see, it is something you do at the end of your treatment, for the slide show to a Web site special... maybe you said it at the beginning, but I respond by e-mail and don't see any of these messages.

    In any case, what you can do is to export all your images with their existing to a subfolder (original) aspect ratio, somewhere and add those to the library using the parameter to the top near where you set the directory put them in, and then set a harvest of 4:3 on these imported JPGs and their re-export in 640 x 480 for the RMLS site.  If it is a unique thing for each collection, you could easily just delete both sets of jpg files to your library and the drive to keep the use of extra space, or at least those intermediate.  As you said, that it was a collection, perhaps from different folders, but if they all come from the same folder, to make the JPGs intermediaries and the jpg final 640 x 480 as subdirectories in the original in order to better RAWs keep track of them.

  • Apply same Perspective transformation to multiple images?

    Hi guys... I have a set of images, and I want to apply the same transformation of Perspective for all images. Note that all images have the same size, which means that, after applying the same transformation of Perspective, they should all have the same size.

    For example, here is the transformation I want:

    Of this:

    http://i.imgur.com/MQhNF7y.gif

    To do this:

    http://i.imgur.com/WaAW6r5.gif

    Problem is that when I manually apply the transformation for each image individually, they do not have the * exact * same size thereafter.

    Is there a way I can simply apply the transformation to a single image, and then this transformation is applied to the other images? I think I can use the functionality of the dynamic object here, but I have no experience on it.

    I'm not sure.

    You can try a save action and see.

    Before recording the action on leaders percent units.

    (View > leaders, then right click on the rule and choose percent)

  • How can I search for ALL photos on my hard drive, windows 8?

    I had windows xp and all I had to do was to go to research and select the photos and ALL photos on my computer would come. How can I do this with windows 8?

    If you open your hard drive in the file Explorer, you can use the wildcard character * to search for something as *.jpg to find all JPEG images.  Doing this would look like with that by typing in the search box:

    But you can find all the images, even if they are other types (.bmp or .png or .gif).  To do this, use the search toolbar that appears at the top.  Use the type menu and tell him you want to search for all images.  It is quite similar to XP, except you get more choice.

Maybe you are looking for