nicolas_cueto at yahoo.com
Thu Sep 1 05:56:25 CDT 2005
If you want to learn on your own, then have a look in the
documentation under "directory" (a.k.a., "defaultFolder").
But if you're just/also after a cut-and-paste solution for finding
the directory of a stack/stand-alone -- especially a solution
that works whether or not your working in the development
environment -- then here's the bit of script I always rely on:
put the itemDel into tSavedDel
set the itemDel to "/"
put the effective fileName of this stack into
delete the last item of tStackfolderPlusStackname
put tStackfolderPlusStackname into tStackFolder
set the itemDel to tSavedDel
niconiko language school
More information about the use-livecode