User Tag List

Results 1 to 3 of 3

Thread: Any way to quickly replace text in a text or ini file?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    115
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Any way to quickly replace text in a text or ini file?

    I need to be able to replace a bunch of texts in a ini file with another. But rather than loading each item, checking it, changing it and re-saving it is a way to do a simple find replace in a file? I noticed there is a Textfile Object which claims to do this, but I tried it and (from what I can see) it only seems to be able to write text to a file with no other options available.

    Cheers

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Apr 2008
    Posts
    115
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    In the end I figured it out with a little bit of a combination of the Textfile object and Ini++.

    Here I am changing and occurrence of "[AppDataDirectory]" in the text file with the actual users installed app data directory. Maybe it will help someone else..
    textreplaceini.jpg

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)
    GKProduction's Avatar
    Join Date
    Aug 2017
    Location
    Russia, Kostroma
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, it was better to be opportunity to do it without Ini++... Unfortunately, it is not ported to Android

Similar Threads

  1. Mass replace text in Event Editor
    By DokieMaster in forum Fusion 2.5
    Replies: 2
    Last Post: 7th March 2018, 10:45 PM
  2. Text Replace Thingy for Kid_Roleplay
    By MechatheSlag in forum File Archive
    Replies: 0
    Last Post: 15th April 2010, 03:19 AM
  3. Web Object, Replace text?
    By Wra1thus in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 6th February 2010, 06:41 PM
  4. Rich Text Editing problem - need answering quickly
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 8th May 2008, 09:10 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
  •