Getting the name for a Mac Users 'home'

Adrian Williams adrian at clubtype.co.uk
Fri Apr 24 11:28:34 EDT 2009


Hello all,

Installing fonts into the Public domain is a breeze:
MacHD/Library/Fonts/MyNewFont.ttf

But I need to install and uninstall fonts in the Users domain. For  
example:
MacHD/Users/someunknownname/Library/Fonts/MyNewFont.ttf

How can I retrieve 'someunknownname' from any computer and place it in  
a variable in the pathname?

Thanks,
Adrian
______________________
Club Type
http://www.clubtype.co.uk
<adrian at clubtype.co.uk>






More information about the use-livecode mailing list