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: [EMAIL PROTECTED] (Ludovic
> Th=?ISO-8859-1?Q?=E9?=bault)
> Date: Fri, 20 Sep 2002 07:51:37 +0200
> Reply-To: [EMAIL PROTECTED]
>
> Hello,
>
> Is there a command to get the active user folder on macOS X (the Home
> folder) ?
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution