Get active user folder on macOS X ?
Matt Denton
matt.denton at limelight.com.au
Fri Sep 20 18:50:01 EDT 2002
Hey-ya Ludovic
Try this button script:
on mouseUp
put specialfolderpath ("Preferences") into lUserPath
set the itemDel to "/"
answer item 1 to -3 of lUserPath
end mouseUp
... 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.
Bye!
M@
Matt Denton
> Subject: Get active user folder on macOS X ?
> From: ludovic.thebault at laposte.net (Ludovic
> Th=?ISO-8859-1?Q?=E9?=bault)
> Date: Fri, 20 Sep 2002 07:51:37 +0200
> Reply-To: use-revolution at lists.runrev.com
>
> Hello,
>
> Is there a command to get the active user folder on macOS X (the Home
> folder) ?
More information about the use-livecode
mailing list