On Sat, Apr 25, 2009 at 1:28 AM, Adrian Williams <[email protected]> wrote: > 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?
$USER gives you the name of the current user. However specialFolderPath() might provide the exact folder path you need. As well as the docs, check out Ken Ray's list of usable codes for this: <http://www.sonsothunder.com/devres/revolution/tips/file010.htm> BTW, in OS X & Rev, you don't need to include the MacHD part in your file path. /Users/username/Library.... is the way such folders are specified. Cheers, Sarah _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
