User Tag List

Results 1 to 4 of 4

Thread: How to add supported file types?

  1. #1
    Clicker iOS Export ModuleInstall 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)
    RyanTV's Avatar
    Join Date
    Feb 2015
    Location
    Under a rock.
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to add supported file types?

    Now, I'm trying to make a C/C++ editor with 2.5. Right now I am trying to add supported file types. I want to be able to save the text in my rich edit object as a .c or .cpp file. Kisguri helped me save my text to a file, but it can only save as a .txt or .asc file. How do I add a new file type?

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,306
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Isn't Fusion itself written in C+? Or at least from what I understand, Fusion 3 (when released) will export in C+ format.

    When you make an event to save the file, shouldn't it let you save in any format you want?

  3. #3
    Clicker iOS Export ModuleInstall 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)
    RyanTV's Avatar
    Join Date
    Feb 2015
    Location
    Under a rock.
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by N64Mario View Post
    Isn't Fusion itself written in C+? Or at least from what I understand, Fusion 3 (when released) will export in C+ format.

    When you make an event to save the file, shouldn't it let you save in any format you want?
    When I'm saving the text with the rich edit object, it only lets me save as text (.txt or .asc) or RTF (.rtf)

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator ProUnicode Add-on
    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)
    You can use the file object to handle the save/open dialog. Then save/open the rich text file using the path returned from the file object.

Similar Threads

  1. Replies: 19
    Last Post: 30th April 2017, 08:16 PM
  2. Supported file formats?
    By Corlen in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 8th April 2013, 05:24 PM
  3. Game Types and How to do Them
    By Novabrain in forum Extension Developers Lobby
    Replies: 38
    Last Post: 20th September 2007, 12:08 PM
  4. Install Creator Pro: How do i set new file types?
    By Dudeofthed in forum Install Creator and Patch Maker
    Replies: 2
    Last Post: 26th November 2006, 03:34 AM
  5. File Types
    By Nick in forum File Archive
    Replies: 37
    Last Post: 1st July 2006, 11:14 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
  •