Instructions "if-then-else" in the texte

Hello
I need to create a RTF template with the management of civility :
I tried this:
<?xdofx:if MM = 'MRS' then 'Mrs.'
else
if MM = 'MR' then 'Mr.'
else
'Mrs. and Mr.'
end if?>
And it just works.
But when I add this condition in the texte, it does not work :
Hello civility, how are you ?
civility represents the condition+
How to operate this condition in the texte?

I tried to include all the text in the text condition, but the number of characters is 384 characters to restrain.
My my text with the code provided exceeds 384 characters.
PS : sorry for my bad english, I'm french.

Similar Messages

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Getting the text from a text area

    I have a application and I wish to take in text typed in from the user into a textArea and then send it into a method however I need to be able to send this information to a static method which accesses a HashTable and then searches for the text inputted by the user word by word. However the getText() wont allow me to access it in a static method and Im not sure of a way around this.
    I know I propably haven't explained this very well but any help you can provide is appreciated

    OK im going to try and explain a little better.
    The main method is currently constructing a HashTable which is then accessed by other methods within the program. Due to this any methods using the HashTable as I understand it must be static. However some of the methods also require input from the user which is entered into a text box in the application. To access this information the method can't be static.
    However when i have a method such as this
    private static void sendMessage(HashTable theTable, String readMessage)
    now as you can see I need to be able to pass it a string and the table.
    Problem: How the hell do I do this its driving me nuts.

  • How to change the Text  description on screen...(not the Data Element)

    I want to change the just text of one of the label on one of the screen. I don't want to change the Data Element, as the same data element is used in multiple places, but I want to change only at one particular screen, at one particular spot
    Any suggestion....?

    a)If you change the Text in a LABEL manually, then translation of the text can't be done.
    Better create a new structure which will be used in all such cases where u can't change the data element.
    Create fields in the Structure with your newly created data element and refer the field in the Label.
    b)IF the translation is not an issue then manually enter the text.

  • How do you change the colour of the text box?

    A lot of the text box options seem different for DC. Is there a way to change the colour of the text box that you create/the borders etc.?
    In the past, you would just press Ctrl+E and a toolbar would pop up so that you could fiddle w/ the colour of the background etc. This seems to be gone.
    Thanks for your help!

    Hi, Rahul,
    Thank you for replying back.
    Unfortunately, I have tried what you have suggested and the only thing that I get is a box that says "Properties: No current selection."
    Could you please possibly see what it is that I am doing wrong?
    I created the text box, wrote whatever inside, clicked somewhere outside the box and then clicked on the text box and I still only get "Properties: No current selection."
    Thank you,
    Arrom

  • How to get the text content of an XMLElement

    Hi,
    Here is a XML sample:
    <toto attrib1="titi">tata</toto>
    We want to get the text content "tata".
    Using an XMLElement (from the class "oracle.xml.parser.v2.XMLElement) to manipulate the element "toto", when we use the getNodeValue method, we always retrieve "null".
    So, what is wrong in our procedure and how to resolve this problem?
    Thanks in advance for your help
    Bye

    You need to get the child nodes of the Element and iterate until you find a node of type Node.TEXT_NODE.
    Elements don't have text content, they instead contain text node children.
    Just remember, too, that they can also contain comments, processing instructions, etc., in addition to the text you are looking for:
    <toto><!-- a comment --><?pi?>Tata</toto>

  • Behaving erratically when mousing over the text

    Hi all,
    I have a very strange problem. I am trying to do a simple photo-gallery using edge animate without using the timeline as much as possible.
    Let's say I have a thumbnail, and I want to mouse over the thumbnail and it goes semitransparent and a text pops up.
    Now, what I had done is I have gone to the compositionready and set the codes to sym.$("caption1_txt").hide(); to hide the text. Next, I have gone to the mouseOver and set the codes to
    sym.$("thumb1").animate(
    "opacity":"0.2"
    }, 500
    to set the opacity to 20% for the thumbnail. And then I set the text caption to show like so :
    sym.$("caption1_txt").show();
    Conversely, I have gone to mouseOut and do the reverse as shown :
    sym.$("thumb1").animate(
    "opacity":"1"
    }, 500
    sym.$("caption1_txt").hide();
    The strange thing happens when I mouseover the text, it seems to flicker repetitively. May I know how to solve this? It seems the program is trying to execute an event for the text block but there is none. Is there a way to nullify or 'ignore' the mouseover effect for the text?
    Thanks, greatly appreciate!

    Thanks for the prompt response again!
    Yes, I realised I have to go to the symbols and then set that to %. Didn't know that can be done
    Thanks heaps! It is working!
    Another question, which I have posted in another post, I do have problems working with the jQuery animate() function.  I have tred to implement CSS3 filters using the animate() function in jQuery but it does not seem to be working. I know presently only Chrome supports this sets of filter. An example of what I had done for the mouseOver handler :
    sym.$("thumb1").animate(
    "-webkit-filter":"sepia(100%)"
    }, 250
    Is there anything that is missing?
    Thanks and greatly appreciate!

  • When i try to add a text. Their is no box in the text tab that allows me to change what the text says.

    Hi everyone,
    I recently got fcpx and i am having lots of trouble trying to put in a text. When i choose a text to put on top of a clip, i am not able to change what the text says.  I am not even able to highlight the text on the screen.  There is not text box on the text tab where i am also able to change the text.

    To make what Tom said, a little clearer, press 'A' then double click the text box in the Viewer window, and type into there.
    Andy

  • On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else on top of it.

    On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else over the top of it. Some pages will run text and pictures together, like a car rear-ending another or a train pile up. Other pages will cut an image or text short, i.e. it will display a portion of the top of the image or text but not the rest. This happens on Amazon for example, the section where it says "Customers who looked at this also looked at" will allow only a certain amount of the upper portion of the description immediately below the picture of the product but below that section everything is fine until I get to another section displaying more products and their descriptions and then it cuts the bottom portions off again. I've noticed this behavior mostly in the sections with product photos, the text sections seem okay. YouTube also displays this behavior. It's even doing it on this page right now. Below this box I can read "The more information you can provide the better chance your question will be answered " , but directly below that in the next sentence I can see the start of it with "Troublshootin" and the "Automatically Add" in a green field covering the "g". The next clear text is "A window will open in the top corner. Click Allow, and then click Install. If the automated way doesn't work, try these manual steps." I tried turning of pre-fetching, clearing history, cookies, and cache, scanning for malware with Avast and Windows Defender all to no avail. It began when I upgraded from dial up to DSL via AT&T Uverse. I have a Motorola NVG510 modem. The modem was replaced an hour ago along with new dedicated lines and DSL/Phone splitter from the box by an AT&T technician to make sure my incoming lines were up to par. He ran a connection test and verified everything is up to standards. IE does not display this behavior. I am running Firefox20.0.1 and all previous versions have acted the same way since I upgraded to DSL about 3 months ago.

    If you have increased the minimum font size then try the default setting "none" in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • I recently upgraded our iMac to Yosemite OS and now have a problem with Photoshop Elements 11:  the move tool selects an image or text layer, but then I try to drag the selection somewhere else on the page and it snaps back to the original location, howev

    I recently upgraded our iMac to Yosemite OS and now have a problem with Photoshop Elements 11:  the move tool selects an image or text layer, but then I try to drag the selection somewhere else on the page and it snaps back to the original location, however the arrows will move it OK.  Also I cannot drag the selection to another photo in the photo bin as before.

    Hi,
    Please refer: http://helpx.adobe.com/photoshop-elements/kb/pse-stops-responding-yosemite.html
    Thanks,
    Anwesha

  • How do I get the text to flow throughout more then one page.

    Hello,
    I am currently using LiveCycke Designer to create a scholarship for my company. I created fields for the form and I would like to insert a text to describe the scholarship. When I insert the text, it doesn't flow onto the next page. I've tried creating a subform and clicking "flowed" and "allow page breaks within content". I also clicked auto-fit for the height, but it just makes a line. For the text box, I've clicked "Expand to fit on the height". It is also a dynamic XML Form. Is there anything else I should be doing?
    I could always send the file to someone to see if they can figure it out.
    Thank you,
    Natalie

    Thank you so much !
    but the link doesn't seem to work. It says that the URL is not in the correct format for an Acrobat.com document link.
    Natalie
    Date: Wed, 12 May 2010 07:53:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I get the text to flow throughout more then one page.
    Here is the corrected form..Even you you set the Subform type to "Flowed" to the subform where the Text box resides, you did not set the Page1 to Flowed (which is the key)..But when I make the Page1 type to "Flowed", all your fields above the Scholrship text boxes' Subform will go one below another.. To fix this, first I have select all the fields and wrap them into a subform and then set the Page1 to Flowed..
    https://acrobat.com/#d=XQ1yfV8fCk85M7sRLD*-gg
    Thanks
    Srini
    >

  • Access 2010 - If Then Else Statement to display text within text box upon Check Box True/False condition

    I have a form called myForm. On this form is a check box called myCheckBox. I also have a text box labeled myTextBox. I have assigned a macro, myMacro, to run upon selection/click of myCheckBox. The macro is an If statement which determines if myCheckBox
    is checked or not checked and spits out a value, "Yes" or "No" for example, into the text box.
    I am not able to get text to display into the text box although I am not receiving any errors when I run the macro. This may be a fault in my logic and would like help resolving where the problem lies. I am fairly new to Access so this could be something
    simple.
    My code is as follows:
    If Forms!myForm =  True Then
      Forms!myForm!myTextBox.Value = "Yes!"
    ElseIf Forms!myForm = False Then
      Forms!myForm!myTextBox.Value = "No!"
    Else
      Forms!myForm!myTextBox.Value = " / ERROR / " 
    End if
    Thanks!

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, the issue is more related to coding/programing, you'd better post your question to the MSDN forum for Access
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=accessdev&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

  • I just downloaded iOS 6 on my iPhone 4 and now can no longer open internet links that were texted to me.  Anyone else having the same problem?

    I just downloaded iOS 6 on my iPhone 4 and now can no longer open internet links that were texted to me.  Anyone else having the same problem or know how to fix this? 

    The SMS links thing is highly annoying. You don't have to copy/paste however. You should see an icon like this: (>) to the right of the text bubble with the link. Tap on that, the in the screen that opens, tap "Visit".
    Alternatively, you can tap twice directly on the link, then hold your finger down after the second tap.
    Still unnecessarily difficult, but not as bad as copy/paste.
    What I don't get is why can't I find any mention of this change or how to fix it (if even possible) elsewhere online?

  • I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    I would like to add content that changes on a calendar basis, such as 'thought for the day". It can then display a different text or image on a nominated day. Can this be done? Robert.

    OK Thanks Brad.
    I could use Tockify of course, but wanted to create the same things on an existing site.
    I do not know how to copy the code and get it onto Muse, but that’s OK for now. I will work something else out.
    Robert

  • How to text someone else on the I pod 5th gene.?

    I purchased a 16gb iPod and I set it up. It asked me to create a number so I could most likely text someone else. I soon realized that it did not have the camera so I switched it out for a 32gb. When I set that I pod up I put the Apple ID on that new I pod but it never asked for the create a number so I assumed it was in the Apple ID account, but then I tried to text someone with internet access; it highlighted the persons name in red so I tapped it and it said that it was not registered with I message. Please help me so I can text my family and friends with my I pod.

    The Apple Messages app will only receive and send to other iPod touches. iPhone or iPads with the Messages app.
    http://support.apple.com/kb/index?page=answerlink&url=http%3A%2F%2Fsupport.apple .com%2Fkb%2FHT3529&answerid=16777216&src=support_site.kbase.search
    To text to other users you need a third-party app like Text+

Maybe you are looking for