Page 1 of 2
Locating the ~/Library/ folder
Posted: Thu Nov 11, 2010 5:53 pm
by andyh1234
Hi,
Some searches seem impossible (like looking for library in a development forum!!)
Just prepping some code for the new mac store, and we need to move some files around to comply with the file locations restrictions.
Is there a quick way to find the users Library folder, I know...
put specialFolderPath("preferences")
will get me to the ~/Library/Preferences/ folder, and can work back from there, but Im just checking to see if there is a shortcut straight to the Library folder as it doesn't seem to be documented.
Andy
Re: Locating the ~/Library/ folder
Posted: Thu Nov 11, 2010 8:08 pm
by FourthWorld
Re: Locating the ~/Library/ folder
Posted: Thu Nov 11, 2010 8:26 pm
by andyh1234
Unfortunately 'dlib' provides the main Library folder (/Library) rather than the Library folder under the users account.
There must be a list of possible entries somewhere, anyone any ideas???
Re: Locating the ~/Library/ folder
Posted: Fri Nov 12, 2010 12:38 pm
by Klaus
Hi Andy,
please check the url that Richard provided where you'll surely find what you are looking for!
This one:
http://www.sonsothunder.com/devres/revo ... ile010.htm
Best
Klaus
P.S.
Try this:
answer ($HOME & "/Library/")

Re: Locating the ~/Library/ folder
Posted: Fri Nov 12, 2010 2:48 pm
by andyh1234
Thanks,
$HOME & "/Library/"
was exactly what I was looking for.
Oddly enough, there doesnt seem to be a direct link to the users library folder with the specialfolder command, but the link Ricard posted has a link to just about everywhere else so it is very useful.
Thanks
Andy
Re: Locating the ~/Library/ folder
Posted: Sun Nov 14, 2010 1:05 pm
by Mark
Hi Andy,
What's wrong with using ~/library ?
Mark
Re: Locating the ~/Library/ folder
Posted: Sun Nov 14, 2010 1:10 pm
by andyh1234
Just my total lack of knowledge of mac / linux file systems!!! Sometimes the obvious just seems to elude me!
Thanks Mark!
Andy
Re: Locating the ~/Library/ folder
Posted: Sun Nov 14, 2010 5:14 pm
by FourthWorld
Mark wrote:What's wrong with using ~/library ?
Does Apple localize "Library" for non-English systems?
Re: Locating the ~/Library/ folder
Posted: Sun Nov 14, 2010 5:40 pm
by Mark
Richard,
No.
Mark
Re: Locating the ~/Library/ folder
Posted: Mon Nov 15, 2010 1:48 am
by FourthWorld
Mark wrote:Richard,
No.
Mark
Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....
Re: Locating the ~/Library/ folder
Posted: Mon Nov 15, 2010 2:05 am
by Mark
Richard,
For users, it is sufficient to know their own language. Developers need to know English.
Best,
Mark
Re: Locating the ~/Library/ folder
Posted: Mon Nov 15, 2010 1:11 pm
by Klaus
Hi Richard,
FourthWorld wrote:Mark wrote:Richard,
No.
Mark
Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....
Apple also knows the difference between "Name" and "Label" and makes practical use of it!

Re: Locating the ~/Library/ folder
Posted: Tue Nov 16, 2010 12:57 am
by FourthWorld
Klaus wrote:Hi Richard,
FourthWorld wrote:Mark wrote:Richard,
No.
Mark
Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....
Apple also knows the difference between "Name" and "Label" and makes practical use of it!

I'm not sure I understand. You mean for non-English systems it uses English folder names but the Finder displays them in the native language?
Re: Locating the ~/Library/ folder
Posted: Tue Nov 16, 2010 10:15 am
by Zryip TheSlug
FourthWorld wrote:
I'm not sure I understand. You mean for non-English systems it uses English folder names but the Finder displays them in the native language?
Richard,
Yes.
Try this:
System Preferences -> International -> Drag the language you want at the top of the list -> Log out -> Log in
Your system should now display labels, menu names, etc, in another language.
Best regards,
Re: Locating the ~/Library/ folder
Posted: Tue Nov 16, 2010 12:50 pm
by Klaus
Yo!
