Path to user's home

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
jap
Posts: 61
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

Path to user's home

Post by jap »

I need to save some settings in Mac OS X, ie. save a settings file to ~/Library/Preferences/ directory, but Hollywood doesn't recognize the reference to the user's home directory (~).

Could you add a function which would return the path to the user's home directory? It would be useful in Windows, too.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Path to user's home

Post by airsoftsoftwair »

This is possible by using the GetSystemInfo() function.
Post Reply