Search text with variables

I am facing the following problem:

I have a point I want to replace a text from him.

Say I want to search for text "Hello everyone my friend Jonathan Foyl" and replace it with another text.

When I use the function F_ApiFind to find the text, it does not work because the "Jonathan Foyl' is a variable Frame Maker!

If it's a simple text then the F_ApiFind works correctly and that he finds the text.

How can I handle this?

All variables are defined in the catalog of documents FM. You can analyze this variable list first and assign channels (& random) unique variables. By iteration do replacements as Russ suggests. Finish with another passage which replaces the corresponding unique strings with their original variables.

Tags: Adobe FrameMaker

Similar Questions

  • Search text with different appliedLanguage

    Then.

    All the documents I am train must be set to a specific language

    (for example. "German (reform in 2006)"). " However, sometimes during the import of text, mistakes happen and texts "jump" to another language (I got English, Romanian, Switzerland etc.).

    I need to create a (rapid) tool, which is any text that has a different language 'German' applied to this topic and indicates which page is displayed.

    Another iteration of each paragraph, each table and each note, I don't know. And the traffic of documents having 1000 + full text, it will take some time... can anyone give me another idea?

    Thank you very much!

    ~ Trevor ~ wrote:

    But I found the TRUE bug " for (c=0;c should become"

    "for (c=0;c-1;c++){"

    Quite a stupid mistake

    The script works really well now

    Oh dear, oh dear, oh dear!

    Now I feel really stupid, the 'real' bug wasn't a bug and

    « for (c=0;c was right.»

    -1 took off English: United States (do not know what is the difference between that and English: USA., as a Brit I never looked into it.)

    -1 has made a difference, my computer felt bad mood and caught himself the splwow64.exe thread.

    In any case, it seems to have cheered and now to reconcile with American independence.

  • Problem with variables not excluding search terms not

    People,

    I'm having a problem with variables, when used in topic titles.

    We produce two distinct versions of a webhelp. The text is almost exactly the same, but the product has a different name in each version. In one version, he is called FLOW; in another, it is called Service generator. We use the user-defined variables to control which name is used to identify the product, when we generate the webhelp.

    So, I have (for example), a subject that begins with the heading:

    Construction of a FLOW script

    where the text occupied by 'FLOW' is provided by a variable with two values - FLOW and Service constructor.

    So when I generate the generator using the web Service version, I put Robohelp using the Service Builder variable defined, and all contained text and the table of positions generate fine; FLOW is nowhere to be seen.

    But when I type "FLOW" in the search box, the system identifies each of the three subjects that are built as in the example above, with a topic title that contains the variable used to set the name of the product. In addition, it displays in the search results using STREAM in the title of the topic, not Service Builder (but when I open the topic, the text in the header is rendered correctly).

    In addition, the system uses the "FLOW" and not "Service Builder" in the headings found by the search, regardless of what research the term is used.

    Everyone comes through this? Nobody knows how to solve this problem, please?

    Thanks in advance,

    NA.

    What version of RoboHelp do you use?

    I use the 2015 Release version. It used to be version 11.

    In the Release version of 2015, my topic Properties dialog box looks like this:

    I think that version 11 may have introduced the possibility of having a variable in the title of the topic. If your version is older and does not seem to offer a way through the dialogue box to deal with this, I was wondering if you could fudge by manipulating the code manually. For example, I see that when I use a variable in a topic title, I end up with this:

    So I was wondering if you could add just in the bit that reads:

    < InsertVariableNameHere >

    Of course, you want to replace the text InsertVariableNameHere with the actual name of your variable.

    It can fail miserably because the process of generation of RoboHelp doesn't know how to cope. But in fact, it might work! You won't know until you try.

    And even if it fails, I may be able to offer another approach that you will overcome the problem.

    See you soon... Rick

  • How to search the selected text with a default search engine?

    Hello

    Before the recent update of the search bar, you can select your 'current' search engine, and a search for the selected text (right click on the selection) would use this engine.

    Now, it seems that you can only search for the selected text using the default engine. If that is correct, it's a big step backwards for me. For example, I can't have Google as my default search engine and the search for a text selected on eBay!

    Or am I missing something?

    Thank you!

    R.

    I find this extension very useful for selected items in the web pages. It offers all your search engines with select > right click.
    https://addons.Mozilla.org/en-us/Firefox/addon/context-search/?src=search

  • text search on rich TEXT with lingo

    Hi all...

    can help me?...

    I glossary with RTF text, because the RTF text is easy to modify the content, but can help make the search text or Word on the RTF text with lingo... ?

    Thank you

    You could attach something like the following to your button:

    on mouseUp me
      sMessage = "search text not found"
      -- assume member names are "text1" and "text2"
      sSearch = member("text1").text
      sText   = member("text2").text
      tOffset = offset(sSearch, sText)
      if (tOffset > 0) then sMessage = "search text found"
      alert sMessage
    end
    
  • changing value of text with the cursor

    Hi you all

    I need a help from your side

    I have created a slider and change the size of the listview text with the cursor

    Here is my code

     Slider {
                           id: slider
                            fromValue: 8.0
                            toValue: 16.0
                            value: 8.0
                            layoutProperties: StackLayoutProperties {
                                spaceQuota: 0.1
                            }
                            preferredWidth: 200.0
                            maxWidth: 250.0
                            preferredHeight: 20.0
                            visible: true
                            enabled: false
                            horizontalAlignment: HorizontalAlignment.Center
                   onImmediateValueChanged: {
    
    // descriptionText is the id of label
              descriptionText.textStyle.fontSize = FontSize.PointValue
               descriptionText.textStyle.fontSizeValue = immediateValue
                            }
    
                        }
    
    /***********************************************************************//
    i am adding data to listview using remote source
    
      Container {
                id: listviewContainer
    
                layout: StackLayout {
    
                }
                ListView {
                    id: myListView1
                    dataModel: dataModel1
                    //{
                    //  source: "asset:///models/xmldata.xml"
                    //      }
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
                            Container {
                                rightPadding: 20
                                leftPadding: 20
                                horizontalAlignment: HorizontalAlignment.Center
                                verticalAlignment: VerticalAlignment.Center
                                layout: StackLayout {
                                    orientation: LayoutOrientation.TopToBottom
    
                                }
    
                                Container {
                                    topPadding: 40
    
                                    horizontalAlignment: HorizontalAlignment.Fill
    
                                    layout: DockLayout {
    
                                    }
                                    // The Item content container
                                    Container {
    
                                        verticalAlignment: VerticalAlignment.Top
                                        horizontalAlignment: HorizontalAlignment.Right
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.RightToLeft
    
                                        }
    
                                    }
    
                                }
    
                                // Description text label
                                Label {
                                    id: descriptionText
                                 //
                               //     objectName: descriptionText
                                    //  leftMargin: 20
                                    horizontalAlignment: HorizontalAlignment.Right
                                    verticalAlignment: VerticalAlignment.Top
                                    text : ListItemData.des
                                    textStyle.color: Color.create("#868686")
                                    textStyle.textAlign: TextAlign.Justify
                                    multiline: true
                                    textFormat: TextFormat.Plain
                                    textStyle.fontSizeValue: 8.0
                                }
    
                        }
    
                    }
            ]
    
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel1
    
                // Sort the data in the data model by the "pubDate" field, in
                // descending order, without any automatic grouping
                sortingKeys: [ "date" ] //[ "pubDate" ]
                sortedAscending: false
                grouping: ItemGrouping.None
            },
            DataSource {
                id: dataSource1
                objectName: ""
                // Load the XML data from a remote data source, specifying that the
                // "item" data items should be loaded
                source:"http://10.121.10.139/simplehtmldom/getdescnews.php?newsid="+dataSource1.objectName
    
                query: "/news/property/"
                type: DataSourceType.Xml
    
                onDataLoaded: {
                    // After the data is loaded, clear any existing items in the data
                    // model and populate it with the new data
                    dataModel1.clear();
                    dataModel1.insert(data)
                    myIndicator12321.setRunning(false);
                    myIndicator12321.setVisible(false);
                    //      dataModel.insert(data)
    
                }
    
                    }
        ]
    }
    
    // in the end i am calling on creating complete
    
    onCreationCompleted: {
            // When the top-level Page is created, direct the data source to start
            // loading data
            dataSource1.load();
        }
    

    problem I am facing is, it does not find the descriptionText variable, which is the id of the label

    can someone help?

    OK, the problem is that listItemComponents attached to a control, such as ListView have their own context. ListItemComponent documentation refers to what I think. If you must do the following:

    1. do you have a property that is defined as an attribute of the ListView

    2 bind your fontSizeValue to listItemComponent tag to the ListView. Note, however, to do this, you need to get a reference to the ListView using your label ListItem.view is found in the container. Not obvious, I know.

    3. do you have your cursor to update the property you have defined for the ListView.

    Cursor---> p_font_size ListView property<---------->

    Like this:

    {To ListView
    ID: myListView1
    property real p_font_size: 10

     

    listItemComponents:]
    {ListItemComponent}
    type: 'point '.
    ID: sample

    {Of container
    ID: mainListViewContainer

    {Label
    ID: descriptionText

    ..........
    textStyle.fontSize: FontSize.PointValue
    textStyle.fontSizeValue: mainListViewContainer.ListItem.view.p_font_size

    }

    and elsewhere on your page

    Slider {}
    ID: slider

    fromValue: 8.0
    toValue: 16.0
    value: 8.0
    layoutProperties: {StackLayoutProperties}
    spaceQuota: 0.1
    }
    preferredWidth: 200.0
    maxWidth: 250,0
    preferredHeight: 20.0
    visible: true
    enabled: true
    horizontalAlignment: P

    onImmediateValueChanged: {}
    myListView1.p_font_size = immediateValue
    }
    }

    I test it and it works. Please make this response as the solution if it works for you too :-)

  • Display text with icons

    JDev Version: 11.1.16

    I would like to display text with icons, when the text wrapping it looks like below

    for example. blah blah blah blah blah blah blah blah blah blah blah blah blah

    blah blah blah blah blah blah blah blah blah blah blah blah blah

    blah blah blah blah blah blah blah blah blah blah

    I tried with ADF CommandImageLink and goImageLink but these display the first icon next text.

    I also tried outputText and image, but the creation of two columns.

    Thank you

    Kala

    I tried with ADF CommandImageLink and goImageLink but these display the first icon next text.


    The default value is the first, but the position of the icon can be defined as an accompaniment with iconPosition.


    Icon="/images/search.gif".

    actionListener = "#{some.el.expression}" iconPosition = "creeping" / > "

  • How to make columns of text with adobe muse

    Hi, how to make columns of text with adobe muse (like InDesign)?

    As Brad has already indicated, the columns are a difficulty.

    Set a text box to separate visually in separate (with a nice gutter) columns does not seem so difficult, but the problem lies in how to manage the flow of text in regards to positions, simple lines ugly upstairs and down a column, deliberate column breaks, how to connect to the text of subsequent block etc. The developers of W3C and browser have not yet agreed on this issue. (Look for the clear green statutes in the table: http://caniuse.com/#search=columns)

    As a matter of fact, Adobe has proposed and developed an alternative for wounds and flawed of current columns, at the W3C long meetings: 'Régions' (which could also leave the text to "wrap" around a box or even an irregular shape). But their effort was in vain. ' Technically too much, too soon, to be treated by the mobile browser engines ", was the comment of Google . So the W3C put this contribution on the shelf.

  • find and delete blocks of text with the same geometricBounds

    Hi writer... .new question from here:

    mySelection var = app.activeDocument.selection [0] .geometricBounds;

    alert (mySelection);

    throughout the document, I need search and delete blocks of text with the same geometricBounds.

    If possible, the same dimensions, but not the same positions.

    Thanks for the help!

    OK Bala... .in to decimal differences, some executives have not been removed.

    I solved with "Math.round' instead of 'number '.

    ===================

    mySelection var = app.activeDocument.selection [0] .geometricBounds;

    var myWidth = Math.round(mySelection[3]-mySelection[1]);

    var myHeight = Math.round(mySelection[2]-mySelection[0]); Alert (myHeight);

    var allFrames = app.activeDocument.allPageItems;

    While (t = allFrames.pop ()) {}

    {if (t.IsValid)}

    var myTextframe = t.geometricBounds;

    var myTWidth = Math.round(myTextframe[3]-myTextframe[1]);

    var myTHeight = Math.round(myTextframe[2]-myTextframe[0]);

    If ((myWidth == myTWidth) & (myHeight == myTHeight)) {}

    t.Remove ();

    }

    }

    }

    ===================

    Now, your script works great!

    Thank you very much!

  • copy text with formatting in acrobat api

    Is it possible to copy the text with formatting via plugin api to a file? provide samples or methods to achieve this functionality.

    Most likely an API IAC, I would have thought.  No need to google randomly, don't use it to find the SDK plugin https://www.google.co.uk/search?q=clipboard%3A+site%3Alivedocs.adobe.com%2Facrobat_sdk%2F1 0% 2FAcrobat10_HTMLHelp % 2FAPI_References % 2FAcrobat_API_Reference & oq = Clipboard % 3 a + % 3Aliv edocs.adobe.com%2Facrobat_sdk%2F10%2FAcrobat10_HTMLHelp%2FAPI_References%2FAcrobat_API_Ref erence of the site

  • How to bind an index of full text with the catalog in PDF format?

    Hello and thanks for your help.

    I already create PDF files on a folder (with hyperlinks between us) and I use the command 'Tools\Document processing\Full text with the catalog Index' to create an index. now, everything works fine.

    Now, I want to tie this index to my first PDF file to automatically use this index on an advanced search in this file.

    I hope someone can answer me!

    Thank you.

    Now, I want to tie this index to my first PDF file to automatically use this index on an advanced search in this file.

    In the document properties:

  • Siri in him sending text with the value 'NULL '.

    When I say, "Siri, text my wife, 'X', ' Siri responds correctly,"here is your message to Jill: 'X'. "" "  "Ready to send it?"  I say 'Yes' and sends the message.  As soon as I get a text from my carrier saying the recipient of the message was invalid.  100% of the time, I see that Siri has sent a text with the value NULL.

    I tried to restart my phone.  I tried to remove and re-add my contacts.  Anyone else having this problem?  Someone knows how to solve?

    If it's by the carrier, you should contact them and see what they receive in return for their side. Ive had Siri send messages for me and I have never seen this one IOS.

  • Another site took my home page, I got the homepage of Google search now with Firefox logo, but all the tabs at the top of the page are missing

    When I downloaded Java, the Funmoods took over the home page. I have now search Google with Firefox logo as home page, but all the usual Firefox tabs (Tools, bookmarks, assistance, etc.) are missing. How can I get back them? Directions very basic if you please, we, the elderly are not very computer savvy!

    Closing Firefox, then hold down the SHIFT key and double-click the Firefox icon to open it. Click the button to Reset firefox.

  • I have Apple TV gen 1. I changed my iTunes password and now I can't the Apple TV in the House. It will connect to iTunes. I type my Apple and a new password. My phone Gets a text with a verification code, but the Apple TV says wrong user

    I have Apple TV gen 1. I changed my iTunes password and now I can't the Apple TV in the House. It will connect to iTunes. I type my Apple and a new password. My phone Gets a text with a verification code, but the Apple TVsaybadusername password or.

    Your ATV1 has an old software system not updated for years.  You have 2 factor (6 digits) or authorization of step 2 (4 digits) enabled for your Apple account.  Here are the characteristics of the latter.  I disable these on your Apple account and try again.

    For Apple ID - Apple Support two-factor authentication

    Frequently asked questions about the audit in two steps for Apple ID - Apple Support

  • HP ENVY 7640: Jobs of text with images - printer cancels

    When I print a text with images document the printer stop printing and cancels the print job when it starts to print any image.

    Help

    Hey @sudiegal!

    Thanks for posting on the HP Forums!

    I would be happy to provide you with some suggestions that may fix the problem.  I see that the printer cancels jobs when you add a photo to you text document.  The first thing I suggest is to remove the printer by resetting the printing system.  After removing the printer add printer and then try printing the document again.

    To reset the printing system:

    1. click on the Apple in the top left of the computer icon

    2. click on System Preferences

    3. click on printers and Scanners

    4 press and hold 'Ctrl' on the keyboard and click with the mouse in the space below the printer

    5. click on reset the drop-down list printing system

    6. we may request for Mac ID and color wheel for a while until the printer is deleted

    To re-add the printer:

    1. click on the Apple in the top left of the computer icon

    2. click on System Preferences

    3. click on printers and Scanners

    4. click on the plus sign (+) icon in the list of printers

    5 Select your printer

    6. choose HP ENVY 7640 series in the drop-down list next to 'use' or 'print using '.

    7. click on add

    If please, after back and let me know if it works for you!

Maybe you are looking for

  • Satellite A300 - turn is not on, the screen remains black

    I have a laptop Satellite A300. I tried to turn it on when I got home from work and the screen remains blank. The bottom (plug, power and battery lights) turns on but the screen remains black. Can someone help me?

  • Analysis of torsional vibration

    Hello I have the speed Vs time from one end of the tree with the other end of the tree. I want to do the analysis of the vibrations of twist in a tiara. Could someone help with the step by step procedure? In the results, I would need the angular disp

  • The instantiation of the indicators of labview or sub - VI?

    Is it possible to create multiple instances of a LabVIEW indicator or sub - VI while the first level VI is running? Here's what I'm trying to do: I have a network of wireless acceleration sensors all monitored by a LabVIEW VI. Each sensor sends packe

  • Pavilion g6: Unknown Device Windows 10

    Hello, here is my product number: C5U60UA #ABA I have just updated to windows 10 and now I'm getting a unknown device in my device manager. When I go into the properties of the device I get the location of the. On the PCI Express root complex. If som

  • Pavilion 27xi his IPS LED backlit screen works not

    Despite following the instructions to the letter, monitor refuses to work constantly showing no Signal!, have tried all the different supplied cables but still nothing. Preparing to return the proceeds received less than 2 hours ago! Your help would