Re: International Colors
Re: International Colors
- Subject: Re: International Colors
- From: KOENIG Yvan <email@hidden>
- Date: Sun, 06 Nov 2011 18:12:32 +0100
Le 6 nov. 2011 à 17:22, Thomas Fischer a écrit : Hi Luther,
the colors are written in a file "Labels.string", the ones used for me is
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/Resources/German.lproj/Labels.strings
There are similar ones for other languages present: da.lproj, Dutch.lproj, English.lproj, fi.lproj, French.lproj, German.lproj, Italian.lproj, Japanese.lproj, ko.lproj, no.lproj, pl.lproj, pt_PT.lproj, pt.lproj, ru.lproj, Spanish.lproj, sv.lproj, zh_CN.lproj, zh_TW.lproj
I don't know if this might help.
Best Thomas
Thanks a lot
Here is a script which extracts the list in use in the running operating system.
set colors_loc to {}
repeat with i from 0 to 7 copy (my get_color_loc(i)) to end of colors_loc end repeat colors_loc
on get_color_loc(num) set p2l to (path to library folder from system domain) as text set path2res to p2l & "Frameworks:ApplicationServices.framework:Versions:A:Frameworks:HIServices.framework:Versions:A:Resources:" tell application "Finder" to return localized string ("Label_Name_" & num) from table "Labels" in bundle file path2res end get_color_loc
Yvan KOENIG (VALLAURIS, France) dimanche 6 novembre 2011 18:12:14
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden