User Tag List

Results 1 to 3 of 3

Thread: Rich Edit find and replace

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rich Edit find and replace

    I load and text file in Rich Edit in background then I need make some changes in the text before to show at user.

    I need replace a lot of words in Rich Edit. How to make an "selective" selection of only the word that I need in one time and then replace for another words?.

    I have the character ">" over 300 times. How make to replace all the ">" in one time?

    Thanks


  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rich Edit find and replace

    Do the following upon loading:

    Code:
    -Edit Box: Load (Selected File).
    -Edit Box: Set text to: ReplaceChar$( "Quick Token Object", Edittext$( "Edit Box" ), ">", (Other Words Here) )
    -Edit Box: Save to: Apptemppath$ + "text.txt"
    -Rich Edit: Load: Apptemppath$ + "text.txt"
    Here we load the text file of your choice in an invisible Edit Box Object. Then using the Quick Token Object, we replace all "<" with (Other Words Here). We then save the new content of the Edit Box Object to a temporary file, text.txt. We then load that text file in the Rich Edit Object. Done!

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    68
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rich Edit find and replace

    Thanks. Very useful.

Similar Threads

  1. Wildcard possible with - Rich Text Object: Controls > Find > Find and Select Text ??
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd March 2013, 01:28 PM
  2. Rich Edit find every occurence and format font
    By Boba Fonts in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th May 2012, 11:14 PM
  3. Extracting a line from Rich Edit Object or Edit Ob
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 8th March 2008, 05:16 PM
  4. How-To Rich Edit Object, replace :) with a image
    By Spryz in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 27th August 2007, 07:38 PM
  5. Find and replace
    By RedHades in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2006, 03:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •