Locating the ~/Library/ folder
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Locating the ~/Library/ folder
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
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
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Locating the ~/Library/ folder
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Locating the ~/Library/ folder
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???
There must be a list of possible entries somewhere, anyone any ideas???
Re: Locating the ~/Library/ folder
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/")

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
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
$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
Hi Andy,
What's wrong with using ~/library ?
Mark
What's wrong with using ~/library ?
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Locating the ~/Library/ folder
Just my total lack of knowledge of mac / linux file systems!!! Sometimes the obvious just seems to elude me!
Thanks Mark!
Andy
Thanks Mark!
Andy
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Locating the ~/Library/ folder
Does Apple localize "Library" for non-English systems?Mark wrote:What's wrong with using ~/library ?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Locating the ~/Library/ folder
Richard,
No.
Mark
No.
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Locating the ~/Library/ folder
Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....Mark wrote:Richard,
No.
Mark
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Locating the ~/Library/ folder
Richard,
For users, it is sufficient to know their own language. Developers need to know English.
Best,
Mark
For users, it is sufficient to know their own language. Developers need to know English.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Locating the ~/Library/ folder
Hi Richard,

Apple also knows the difference between "Name" and "Label" and makes practical use of it!FourthWorld wrote:Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....Mark wrote:Richard,
No.
Mark

-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Locating the ~/Library/ folder
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?Klaus wrote:Hi Richard,Apple also knows the difference between "Name" and "Label" and makes practical use of it!FourthWorld wrote:Weird. How many other system thing does Apple require non-English-speaking people to learn the English name for? Preferences? Fonts? Hmm....Mark wrote:Richard,
No.
Mark
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 163
- Joined: Tue Jan 26, 2010 10:15 pm
- Contact:
Re: Locating the ~/Library/ folder
Richard,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?
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,
TheSlug
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel
http://www.aslugontheroad.com - Tutorials, demo stacks and plugins for LiveCode
Data Grid Helper - An intuitive interface for building LiveCode's Data Grids
Excel Library- Extends the LiveCode language for controlling MS Excel