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.
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?
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. :)
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?
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.
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: