The file.getSpecialFolderPath verb could stand to be
updated in the kernel.
See getspecialfolderpath function in fileops.c and take
a look at <
http://developer.apple.com/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html#//apple_ref/doc/uid/TP30000238-CH1g-F16387
>.
I think we could use kOnAppropriateDisk instead of
converting the volume name to a number and extend the
Folder Type Constants available to the scriptor, given
a Mac OS X world.
Logged In: YES
user_id=201017
See karstenwo/carbonpackage_2005-07-19.tar.gz in the yahoo group files
section. The files file.h, fileverbs.c, file.getSpecialFolderPath.ftsc &
macintosh.foldersearch.fttb implement file.getSpecialFolderPath() for osx.
Of course no documentaion. IIRC usage is described in file.getSpecialFolderPath
().