Get active user folder on macOS X ?
matt.denton at limelight.com.au
Fri Sep 20 18:50:01 CDT 2002
Try this button script:
put specialfolderpath ("Preferences") into lUserPath
set the itemDel to "/"
answer item 1 to -3 of lUserPath
... this script assumes that the last two items of the preferences
folder contain something like "/System/Preferences", which is true in
the current OSX system... so it works today, as long as Apple keeps
Preferences in this spot for future OSX versions. The -3 is three items
from the end.
> Subject: Get active user folder on macOS X ?
> From: ludovic.thebault at laposte.net (Ludovic
> Date: Fri, 20 Sep 2002 07:51:37 +0200
> Reply-To: use-revolution at lists.runrev.com
> Is there a command to get the active user folder on macOS X (the Home
> folder) ?
More information about the use-livecode