• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: International Colors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: International Colors
      • From: Robert Poland <email@hidden>
References: 
 >detect return, expanded (From: Robert Poland <email@hidden>)
 >International Colors (From: Luther Fuller <email@hidden>)
 >Re: International Colors (From: KOENIG Yvan <email@hidden>)
 >Re: International Colors (From: Luther Fuller <email@hidden>)
 >Re: International Colors (From: Thomas Fischer <email@hidden>)

  • Prev by Date: Re: International Colors
  • Next by Date: Re: International Colors
  • Previous by thread: Re: International Colors
  • Next by thread: Re: International Colors
  • Index(es):
    • Date
    • Thread