• 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: Getting the default language with AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the default language with AppleScript


  • Subject: Re: Getting the default language with AppleScript
  • From: Emmanuel <email@hidden>
  • Date: Wed, 7 Jul 2004 19:02:28 +0200

At 9:13 AM -0700 07/07/04, Paul Berkowitz wrote:
>if (system attribute "sysv") < 4144 then
> find text "^[^_]+" in (system attribute "LANG") with regexp and string
>result
>else
> find text "^[^_]+" in (do shell script "defaults read -g AppleLocale")
>with regexp and string result
>end if

ouch! thanks for the full script!

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Getting the default language with AppleScript (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Re: Getting the default language with AppleScript
  • Previous by thread: Re: Getting the default language with AppleScript
  • Next by thread: Re: Getting the default language with AppleScript
  • Index(es):
    • Date
    • Thread