I am often thinking about openen some filetypes with my own AppGameKit program. Like JPEG, PNG or maybe 3D files. Creating a little viewer for some filetypes. Or be able to open my own level files, spine/spriter animations etc.
The work arround with PureBasic would be, to associate the filetypes with a PureBasic-Executable and run out of the PureBasic program the AppGameKit program and write the parameters into a file and then run the AppGameKit program and read from that file.
But it is not the way it should be. And it needed the PureBasic program and it works maybe only on my PC. It would be also not save like in a Sandbox.
My question is, how would I open an unknwon file with my own AppGameKit program.
Syntax with the AppGameKit program could be: MyProgram.exe MyText.txt /FAST "Special Mode" (from PureBasic help)
Thanks for help.