Skip navigation
Currently Being Moderated

How to get selected images?

Mar 14, 2013 6:18 AM

Tags: #image #framemaker10 #extendscript #get #selected

Hi all,

can anyone help with getting a list of selected images?

E.g., to get selected tables I use

doc.GetTextForRange(doc.TextSelection, Constants.FTI_TblAnchor)


Thanks in advance!

  • Currently Being Moderated
    Mar 14, 2013 7:08 PM   in reply to TauChiba

    If you want the anchored frames in a range of selected text, you would use


    var textList = doc.GetTextForRange(doc.TextSelection, Constants.FTI_FrameAnchor);


    If you want to get graphics that are selected as objects, you can use:


    var graphic = doc.FirstSelectedGraphicInDoc;
    while (graphic.ObjectValid()) {
        // Do something here.
        graphic = graphic.NextSelectedGraphicInDoc;



    Mark as:
  • Currently Being Moderated
    Mar 15, 2013 8:09 AM   in reply to TauChiba

    You will have to explain how things are set up, or maybe post a screenshot. I don't know what you mean by "text in the image description." Thanks.



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points