User Tag List

Page 4 of 4 FirstFirst ... 2 3 4
Results 31 to 36 of 36

Thread: Creating your own file extension?

  1. #31
    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: Creating your own file extension?

    PSO has options for extensions and associations. The "Create/Setup File Type" action will register a file extension on the system. This action is where you give your file extension an icon and a description. You can then add associations (such as "Open" or "Open with Firefox"). Here is where you enter the program to open the extension with.

    Hope that helps.

  2. #32
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    Ok I think I got it - I just need to set the default program now in the Windows Explorer - but how to open the file? eg. a text file to edit box?

  3. #33
    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: Creating your own file extension?

    You do this using the CommandLine$ expression. The result will contain the path to the file that opened it. For example, say you associate TXT files with your application. Then this association in C:\Folder\myfile.txt is selected. Your application opens. The command line then contains that file path, which you can use to load the file.

    I hope that made sense.

  4. #34
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    That gives me "C:\Users\Owner\AppData\Local\Temp\mrt3F31.tmp\std rt.exe"

    Never mind i think i got it. But how do I encrypt a text file with the blowfish object, and open it and decrypt it?

  5. #35
    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: Creating your own file extension?

    Not when another file runs it. Create a simple application with a string. At the start of the frame, set the string to CommandLine$. Build the application.

    If you drop any file into the built application, you should see the file's path when your app opens.

  6. #36
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating your own file extension?

    How do I use the blowfish object and keep the file type and use it and whatever? I set the key, I encrypted it, now how do i open it?

    Wait - There's this: "C:\Users\Owner\AppData\Local\Temp\mrt8CC5.tmp\std rt.exe" "C:\Users\Owner\Documents\MMF2 Files\New Folder\jinglebombs2.txt"

    Instead of this:

    "C:\Users\Owner\Documents\MMF2 Files\New Folder\jinglebombs2.txt"

    How to get rid of?

    That all fix! String Parser, But how do you decrypt the string??? It just shows whatever I put in the second parameter for Set Text : DecryptString$( "Blowfish Object", "ricky", Edittext$( "Edit Box" ))How do I use the blowfish object and keep the file type and use it and whatever? I set the key, I encrypted it, now how do i open it?

    Wait - There's this: "C:\Users\Owner\AppData\Local\Temp\mrt8CC5.tmp\std rt.exe" "C:\Users\Owner\Documents\MMF2 Files\New Folder\jinglebombs2.txt"

    Instead of this:

    "C:\Users\Owner\Documents\MMF2 Files\New Folder\jinglebombs2.txt"

    How to get rid of?

    That all fix! String Parser, But how do you decrypt the string??? It just shows whatever I put in the second parameter for Set Text : DecryptString$( "Blowfish Object", "ricky", Edittext$( "Edit Box" ))


    Fixed - I accidently deleted add key event :blush:

Page 4 of 4 FirstFirst ... 2 3 4

Similar Threads

  1. Problem with creating an exe file
    By CitrusMaster in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 11th November 2012, 03:54 PM
  2. REQUEST: File Path "check for file" extension
    By MechatheSlag in forum Extension Development
    Replies: 16
    Last Post: 20th July 2008, 09:41 PM
  3. Creating batch file (Help!)
    By Ran_TH in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2008, 03:57 AM
  4. Creating a Hidden File / read only extension
    By MikeB in forum Extension Development
    Replies: 11
    Last Post: 1st July 2008, 03:47 PM
  5. creating folders (directorys) with file object
    By Dave in forum File Archive
    Replies: 0
    Last Post: 21st March 2008, 01:26 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
  •