• 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: Paul Berkowitz <email@hidden>
  • Date: Tue, 06 Jul 2004 11:14:14 -0700

On 7/6/04 10:33 AM, "email@hidden" <email@hidden> wrote:

> At 18:49 +0200 06/07/04, Peter Fischer wrote:
>> The single line:
>
>> set theLang to (do shell script "defaults read com.apple.dock.loc")
>
>> should give you a result like "en_US", "fr_FR" or "de_DE" and so on...
>
> 10.3.4 here, Terminal 1.4.3, tcsh:
>
> ~ : defaults read com.apple.dock.loc
> 2004-07-06 19:16:43.826 defaults[10974]
> Domain com.apple.dock.loc does not exist

Same here. (It makes no difference what shell Terminal is set to - mine is
bash - since 'do shell script' does not use Terminal, it uses sh).

Domain com.apple.dock.loc does not exist

--
Paul Berkowitz
_______________________________________________
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.


  • Follow-Ups:
    • Re: Getting the default language with AppleScript
      • From: Peter Fischer <email@hidden>
References: 
 >Re: Getting the default language with AppleScript (From: 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