$appsupportdir = FindFolder(kUserDomain(),
kApplicationSupportFolderType());
This very-ancient FAQ entry seems to address my question:
http://www6.uniovi.es/tcl/faq/macFAQ.html#Q4.3
Alas, that seems to be no longer true on OS X:
$ tclsh
% $env(DESK_FOLDER)
can't read "env(DESK_FOLDER)": no such variable
Is there a modern way to learn about system paths on OS X? Or, is the
above FAQ still correct, and I'm missing something?
Thanks!
-Andrew
% parray env
env(HOME) = /Users/paul
env(PATH) = /usr/bin:/bin:/usr/sbin:/sbin
env(SECURITYSESSIONID) = 505220
env(SHELL) = /bin/bash
env(USER) = paul
env(VU_LIBRARY) = /Library/Tcl/vu2.2
env(__CF_USER_TEXT_ENCODING) = 0x1F5:0:0
Maybe you can do it with applescript? I believe there's an extension
that will let you use applescript, but I don't recall it's name at the
moment. TclAE?