Revlet default folder

Kevin Stallibrass kevin at stallibrass.com
Wed Jul 29 19:57:46 EDT 2009


I have saved one of my rev programs for the web. The program stores some
preferences in a .txt file in the default folder next to the app. When
saving for the web and putting the revlet on my webserver, the app still
works correctly but I've noticed that the default folder now becomes the
desktop storing the .txt file there. This happens on both  mac with safari
and XP with IE (I've not tried any other combinations).

This is great because a standard rev app will still work correctly with no
alterations but I feel I'm likely to annoy a lot of users by cluttering up
their desktop. I feel that a better place for the default folder is the
temporary internet files folder so that when this folder is emptied via the
web browser, my files will be removed at the same time.

Trouble is, I've no idea of a global path I could use which would work on
all supported browsers/OS's  - is there one?

 

Regards

Kevin Stallibrass




More information about the use-livecode mailing list