launch a stack from a file
Posted: Wed Nov 14, 2012 10:54 pm
I'm interested in a way to launch a standalone by double clicking a data file (which is just a text file that the standalone generated). This would be akin to double clicking on a Microsoft Word file to launch Microsoft word application, and then open the file.
In my case, the text file is a dump of the contents of all fields, and state of all buttons, and global variables. Currently, I launch my standalone, then "open" the exported data file. What I would like to do, is to be able to double click on the data file, and open it, in one step. Previously, I have accomplished something close to this by changing the name of my standalone. When launched, the stack looks at it's name and loads in a datafile with the same name. There are limits with this, as you can't save files where ever you want, and you can't name them however you want without specifying that in the original app.
In my case, the text file is a dump of the contents of all fields, and state of all buttons, and global variables. Currently, I launch my standalone, then "open" the exported data file. What I would like to do, is to be able to double click on the data file, and open it, in one step. Previously, I have accomplished something close to this by changing the name of my standalone. When launched, the stack looks at it's name and loads in a datafile with the same name. There are limits with this, as you can't save files where ever you want, and you can't name them however you want without specifying that in the original app.