User Tag List

Results 1 to 7 of 7

Thread: Sentence by sentence or line by line movement in Rich Text object?

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Sentence by sentence or line by line movement in Rich Text object?

    Is it possible to navigate or select text on a word by word, sentence by sentence or line by line basis with the Rich Text object? I have no idea. My big discovery this week was NewLine$, so I've clearly got some learning to do.

    Edit: I may have found a way but I need to test it. I'll post results.

    Edit 2: This has raised a second question, which I'll post here instead of spamming the board. Is it at all possible to save the rtf file with a filename based off an equation (which extracts text from either the rtf, a string, etc.)? I can't seem to make it work.

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here i made you a quick example how to save load using expression: https://dl.dropbox.com/u/14962632/Public1/RTF.mfa

    For selecting text word by word or line by line, check out string parser.

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for be so willing to help. Here's an example. I stripped it a little to get rid of some weird extensions.

    test save.mfa

    The premise is, load the program, type, hit escape, go down to save and hit enter, type save name, press enter to save. I want it to save the file based off the name typed in (the "Save Dialogue" Rich Text Object). Right now I have a different expression in there than you mentioned, but even basing it off your expression, it didn't seem to work. Any ideas what I'm doing wrong?

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its a problem with rtf, you cant save by key enter, since thats the same key to edit the text and it probably causes some confusion, if you change it to for instance F9 it works.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Skyhunter, thanks so much. So that's what it is? I had no idea! Now I have to try and get creative and figure a way for that enter key to work. I'm gonna mess around with this a bit.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)
    ratty's Avatar
    Join Date
    Apr 2012
    Posts
    1,114
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Wow, this is more difficult than I anticipated. Any ideas on how enter can still work after typing the file name? Surely this is something that people have worked into their programs in the past. I've tried various text objects but I need to be sure I use one with text that I can format via the event editor.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    451
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It should work fine with editbox instead of rtf for the savebox.

Similar Threads

  1. Rich Text Object - Get specific line and letter
    By HadHaw in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd February 2013, 07:28 PM
  2. Save text to ini in "iOs Multiple Line Object" more than one line!
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 1st February 2012, 02:16 PM
  3. Spellcheck program for full sentence
    By ezra in forum File Archive
    Replies: 0
    Last Post: 3rd July 2010, 07:56 AM
  4. Search and edit sentence in text
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 2nd August 2008, 04:21 PM
  5. Tokens object - sentence
    By ayejes in forum File Archive
    Replies: 5
    Last Post: 2nd April 2008, 04:44 PM

Posting Permissions

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