User Tag List

Results 1 to 4 of 4

Thread: Append a string in a text file

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Ls2's Avatar
    Join Date
    Jun 2011
    Location
    Maceió - Brazil
    Posts
    927
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Append a string in a text file

    Hi all,


    I'm looking a way to append a text in a .txt without load this file in memory. I tried the File Stream Object, but the .txt before and after of inclusion has the same size. Probably I'm making a mistake.


    Can someone help me?

  2. #2
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Ls2,
    You can just use the standard File object for this.
    ouly

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleUnicode Add-onInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    574
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    File stream object should work fine.

    First load the file into the stream with flag set to 8. Then set string at position of file size, then close the stream.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Ls2's Avatar
    Join Date
    Jun 2011
    Location
    Maceió - Brazil
    Posts
    927
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Ouly, thanks for your reply! I reached the goal using the File Stream

    Danworth, you're right! I made this steps and works perfectly. Thanks!

Similar Threads

  1. Append Ini Data To String?
    By stevenart1988 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th June 2013, 10:03 AM
  2. Append string
    By Jack_Bauer in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 29th January 2009, 10:40 PM
  3. Append lines to Text Blitter in top-down style
    By JoKa in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th July 2008, 09:41 AM
  4. append text to file
    By obiwan in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th June 2007, 12:57 PM
  5. Get string in text file?
    By Jesse in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 15th August 2006, 01:02 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
  •