[FM11] Print the link to the Image and the markers of Index with the specific character Style

Hello

I'm new with scripts for Framemaker. I want to export FM docs to RTF, so I can import into InDesign. For placed images I want to insert a line of text that shows the link to the image (reference). In addition, I want to show the Index markers at the insertion location of brand with a different character Style. Can someone help me with this?

Best regards, Sjoerd

Sjoerd Hello,

A note on your method to retrieve all related graphics: this will also deal with graphics that could be linked in master pages and reference. Just to be safe against unwanted side effects, you should limit your list of charts to those in the main flow of your document.

On the tLoc: looking for really the cornerstone of the anchored frame that contains the chart. It's a little confusing that FM called the anchored frame and any graph of the same name. Even if you add a framework anchored in the text to an equation or a text box in your document, the anchored frame will appear in the list of the chart in the document. If you have a framework anchored containing an imported graphic file, you have a list of graphic objects inside the anchored frame, who himself appears in the list of graphical objects in the document.

This function should do what you want to do:

function ListGraphics (doc)

{

var had is doc. FirstGraphicInDoc;

While (had. {ObjectValid()})

If (aframe.constructor.name == "Eu") {}

image = had. FirstGraphicInFrame;

If (graphic.type is Constants.FO_Inset)

doc. AddText (had. TextLoc, graphic. InsetFile);

}

had had =. NextGraphicInDoc;

}

}

I suppose you also want to remove the anchored frames (imported image files) the text. This can be done in the same routine, but you first have to catch the next element in the linked list graphics in the doc before deleting the current. If you do not delete the first and end up with an object not valid. The method simpler and more secure to do is to create an array of items to delete. After the while loop, you delete these objects. Get the complete code looks like this:

function ListGraphics (doc)

{

var toDelete = [];

var had is doc. FirstGraphicInDoc;

While (had. {ObjectValid()})

If (aframe.constructor.name == "Eu") {}

image = had. FirstGraphicInFrame;

If (graphic.type == Constants.FO_Inset) {}

doc. AddText (had. TextLoc, graphic. InsetFile);

toDelete.push (had);

}

}

had had =. NextGraphicInDoc;

}

for (i = 0; i< todelete.length;="" i++="" )="">

toDelete [i]. Delete();

}

}

This works on a small test file created. If you are in need of more support, do not hesitate to contact me: jang to jang dot nl

Tags: Adobe FrameMaker

Similar Questions

  • Can I attach a link to an image and then use this linked image several times in my site?

    Hello

    Is it possible to attach a link to an image, and then use this image (with attached link) several times in my site.

    Thank you

    Ally

    Use "Find and replace" > under the menu "Edit".

    Select in "search in"-folder and navigate to the folder of your Web site files are stored in to select.

    Search: Source Code

    In the Find box (but of course use YOUR code from the image):

    In the box replace: (use YOUR code link and image)

    Then select "replace all".

  • Looking for the last element of a string defined in a specific character style

    I should find each space which is the last character of a string in a particular character style. For example, in the "123 456 789" passage (the underlined part here indicating a passage located in a specific character style), my ideal GREP search would produce a match after the number 6.

    How to do this?

    Define your character style in the Format Panel find, use this GREP: \s$

    $ is the match end-of-string location, and when you search for text in a style character style, the end of what this style is applied to is considered the end of the string.

    Peter

  • Print the specific tile

    Is it possible to print specific tiles (NON-specific pages) when you use the option poster?

    I'm working on a map of large screen which will consist of 3 individual panels, 76 "long and wide 36" (our size plotter).  I would like to print only the upper part of each tile for the test, to see how the borders, etc. align.

    I prefer not to print the length of each tile for this purpose. However, in mode "Poster", while the rating scale indicates he knows there are 3 pages (i.e. tiles), print only selections Voirledocument all of the document (see image below).

    TilingOptions.jpg

    Any suggestion would be appreciated!

    KLF

    The print to the Adobe PDF printer. It generates a new PDF file where each page is a single mosaic. Then you will be able to print just the tile you want.

  • Legends have the applied character Style

    Hello

    I am trying to add captions to a bunch of pictures and they all get a character Style applied for some reason any.

    I tried to select 'none' before creating captions without result.

    I have no idea why this character Style would apply at the same time as the paragraph Style, I chose.

    Any clue?

    Thank you.

    Anselect everything in your spead and check that the style is selected on your character range of Styles. What is [none]?

  • Link to graphic images and display the same image on two different series

    I create a brochure DIN A5 landscape (l x h - 210 x 148) that has two pages each Board. Now, I want to connect two graphic frames on two different series (starting page 4 continued on page 5) to display the same image. This image is then next to each other after printing.

    Please take a look at the photos (situation and endresult).

    Could you please help!

    Thank you!

    Phil

    CURRENT situation

    link-image-to-another-page_1.jpg

    endresult

    link-image-to-another-page_endresult.jpg

    It is not clear to me that you understand that you should be setting this up as a file "facing pages" where each page is half of a spread, not the full-spread by page you started with. In order to impose the pages must be independent of each other in the file.

    From the screen shot it seems that when folded your book will be A5 landscape format, so if this is the case, you will want to set up as faced with pages A5 landscape. Guests will have a single page for the first and last pages, and the rest will be displayed as two-page spreads, just like your reader will see them. Given that this seems to be a folded booklet, you should also keep in mind that the number of pages should be a multiple of 4 - two sides of two pages per sheet.

    To a printer you will probably offer a PDF file, exported as a single document with individual pages in the reading order. If you want to print yourself, InDesign has a module simple integrated tax called booklet print in the file menu.

  • Flash CS6. AS3: How to load the image from a link on an image and addChild (image) on the other?

    How can I addChild outside of magazine images? When I try to addChild on the other images of the same charger, I get an error.
    I need to download all my 10 no images ONLY ONCE and place it on the screen in other frameworks (for the same film Clip).
    Also I can't play this once coded as3 framework. I know how to add an array of images, but I don't need to understand how do it with a single image.

    Here is my charger for images...


       var shirt1 = String()""https://static.topsport.lt/sites/all/themes/topsport2/files/images/marskineliai_png/215.pn g"" "");

       var img1Request:URLRequest = new URLRequest(shirt1);
      
    var img1Loader:Loader = new Loader();
       img1Loader
    .load(img1Request);
       myMovieClip
    .removeChildAt(0);
       myMovieClip
    .addChild(img1Loader);

    You declare the imgLoader outside the service, otherwise it is limited in the service...

    var img1Loader:Loader;

    function onLoaderComplete(e:Event):void
    {

    ...
    img1Loader = new Loader();

  • How to print the specific image size?

    Hi Gang - How can I print an image 11 x 15 "on paper 13 x 19"?  Initially, it seems easy, but things are not how to navigate. Here's what I did:

    I exported the photo and used the dialog box LR image resize to 11 x 15 "- easy."

    I imported the exported image (assuming that the image was 11 x 15 ") and then in the LR print area - it is where the confusion begins.

    The print tab displays the dimensions of the image as 8 x10.19 in.  Help, how can I do the 11 x 15 "I need it to be?

    I understand that I will need to adjust the image to get the part I want in the space of 11 x 15, but for the moment, I can't even 11 x 15 "size.

    I tried package customized options, but no luck there.

    I would like to Print Studio Pro Canon plugin that works very well. Except, again, I don't know how to ask the image size 11 x 15 "for printing on paper 13 x 19".

    Fiddling with settings, I printed a dozen attempts and still no luck to reach 11 x 15 "size of the image on paper 13 x 19".  For now, I'm OK with the image to cut or to another plane - no baby - I need to know how to make the print image 11 x 15 "size of the image. A

    Thank you to offer suggestions.

    Screenshot shows that my image 11 x 15 "is 8x10.19; I don't know how 11 x 15 ".

    Untitled.jpg

    LR v5.7

    Mac OS X Yosemite v10.10.2

    Brain: generally intuitive, but need some help on this issue!

    The first step in the Lightroom print module is to click on the Page Setup button, select your printer, and then select the paper size. It looks like your screen to paper size correct has not been selected yet, because you said you wanted to print on paper 13 x 19 inches, but the paper on the screen is only 8.5 inches wide. My guess is that Page Setup is always programmed for letter-size paper, and you should come back on layout and change it. After you do this, if your layout Style is unique, you should be able to affect the size of the cell 11 x 15 inches.

  • Print the help of style sheet?

    Hi all

    I have a site that needs to present, but I have a problem with my print style sheet.

    I checked his writing on forums, etc., and by making print media style type just fab. But when in a live browser and I saw print, nothing shows on the screen (or when I print)

    Can someone tell me please in the right direction? I have checked and double-checked everything. I put on my forum of course and emailed every tutor I can find, but did not have all the answers.

    Forum Adobe, please, help me!

    Nina

    completely the form of this code

    print_style_sheet. CSS

    #container {}

    background-image: none;

    Width: 7 inches;

    display: none;

    background-color: #FFF;

    Color: #000;

    }

  • Image and JSON response is possible with mapviewer

    Hello
    I am a newbie to mapviewer, however I have good skills with Open Source such as Geoserver map server, recently the data store has really exceeded the limits of my Architecture of Web mapping and nowadays I am bussy assess Mapviewer.

    I read the manual of the API and perform all demos, I think its fantastic, but in my scenario, I need to use without the javascript Api Maps Oralce mapviewer. It is possible to get an answer simple image when WMS calls ask and it is possible to get a JSON response agaisnt WFS request, because I use my web application and map server are in different domains, in order to avoid the same origin policy, I used JSON to my answers WFS. These two things are possible, in mapviewer or is it mandatory to use mapviewer with oracle map api.

    Kind regards.
    Imran

    WMS returns an image. WFS returns a xml (GML) doc as a response.
    JSON is not supported in the current version.

  • Why I get a blue with double arrows box when I open my file image and music, he also appears with my documents.

    It is very annoying and I can't get rid of

    Hello

    They are called icons and they are used by some programs, such as backup programs online, storing files online programs (such as Skydrive, etc.) and other programs.

    They reflect the State of these files.

    Status, such as should be saved has been saved, hasn't been downloaded yet, etc, etc.

    What happens when you right click the icon of recovery?

    Let us know.

    Concerning

  • Indesign allows the use of the underscore character style in automatic numbering? How to solve it?

    [In a table] I would like to use paragraphs numbered [in the first column] but ID does not allow yo use a style of ch to get the background for the number (below)

    (In addition, the cells have different heights)

    Isolate the problem, it seems, what ID here allows to not do.

    The number disappears but appears later. But it is difficult to work like that if some change is needed to the renumbering)

    new.jpg

    .     .     .     .     .     .     .     .     .     .   .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .     .

    Mandatory:

    forum1.jpg

    A little awkward, but you have so it with a drizzle of adjustable section on column width. Add dashes if necessary.

  • How to choose a character style instead of the entire text selection when running a script?

    I have a script, which, after having selected the text, can change the appearance of the figures. This action, therefore, covers all the numbers in the document to help:


    01 If (app.selection.length! = 1)

    [... here, the rest of the script]


    How do I change this line to apply changes only to those numbers until the tag with a specific character style?


    Thank you.


    I tried to change this line which is to select all the numbers:

    If (app.selection.length! = 1).

    This line is all, but by selecting all numbers. It only checks if there is more than one selected item. Selection of texts always returns the length of 1. That's why this review.

    And given what I've offered before, all you have to do in Jongware script to match your needs is to add app.findGrepPreferences.appliedCharacterStyle = theStyle;

    Before findGrep().

    HTH

    Loïc

    http://www.ozalto.com

  • Deleted pages appear as broken links, but no link never went to and from the

    Tech

    • RoboHelp 10 (project upgraded RH7, 8 and 9 years)
    • Windows 7
    • Connected to a VSS repository.

    Question

    The title describes what is happening, and I want to know how to clear the list of broken links these links.

    Here's what I did

    1. Through the TOC sidebar, I added a page. (right click > new > Page).
    2. Through the new TOC pop-up window, I added a new topic.
    3. After you have added the new subject, he appeared on the project view and the table of contents, as it should.
    4. I wrote a bit in the file:
      1. I created several files, some using templates and variables defined by the user, others with nothing more than your standard, white page.
      2. There is no incoming (that I know) or outgoing links.
    5. I have advanced and deleted the table of contents entry and the entry in the project view.

    Here is what happened

    1. The file appears in the list of broken links.
    2. When I vew its properties, it says there are no references.
    3. By clicking on 'Edit' does nothing.
    4. The question that's happened with several test pages, which none related to what either.

    2-21-2014 8-24-08 AM.jpg

    History

    • I inherited this file to another writer.
    • Basically, I try to understand what they did or did not do with this project.
    • At present, there are literally hundreds of links broken, broken images, and I'm sure I saw a monster hidden in the code.

    TIA.

    Hello

    It is possible that a lag occurs between the project. DPC and the main database file. My suggestion would be to delete or rename the. CPD file.

    You will find it among all the other files in the folder where your project is located.

    Give a go and report back what your outcome is.

    See you soon... Rick

  • Is there a way to flatten all the images and the text when you optimize?

    I want to flatten all the images and text (not only those with transparency) in PDF files to ensure that no one can steal my images and work. Are there settings that I can choose when I save as optimized in Acrobat? This is on a Mac. Thank you.

    Flattening, but you use that term, does not extract images from a PDF. You can apply security, products from Adobe that will prevent the extraction of content from a PDF file, but that's all. If it is in a document, it can be extracted.

Maybe you are looking for