how to adress a users folder on Mac OSX
Phil Davis
revdev at pdslabs.net
Thu Jan 18 11:00:01 EST 2007
Hi Richard,
Here's one way:
-- button script
on mouseUp
put ($HOME & "/Library") into tTargetFolder
set the defaultFolder to tTargetFolder
put the files into fld 1
end mouseUp
"$HOME" is an environment variable - always there, no need to define it.
Phil Davis
R. Hillen wrote:
> Hello list,
>
> what should I write to get a list of files in the library of the actual
> user?
>
> somewhat like:
>
> put files(/Users/???/Library) into FileList ?
>
> Thank you for your help
>
> Richard.
More information about the use-livecode
mailing list