Export locations
J. Landman Gay
jacque at hyperactivesw.com
Thu Jan 28 11:28:09 EST 2010
Richmond Mathewson wrote:
> On 28/01/2010 15:34, Phil Jimmieson wrote:
>> Hi Richmond,
>> After I've saved a document I write a little text file to the user's
>> preferences folder - the text file contains the last save path. Just
>> before I put up a save box in my program, I test to see if that little
>> text file exists. If it does, I read it in and use the path it
>> contains as the location to save to. If it doesn't exist I pick a
>> reasonable default (the user's documents folder). This works ok for me
>> (on Windows and Mac OS X).
>>
>>
>>
> Lovely job!
Or if you don't need a permanent record, just set a custom property. Or
set the defaultfolder.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list