• 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: Gnarlodious <email@hidden>
  • Date: Tue, 06 Jul 2004 21:22:25 -0600

Entity Bill spoke thus:

> ~/Library/Preferences/.GlobalPreferences.plist

Well why didn't you say so earlier?

Here's what I'd say:


do shell script "sed -n
'/AppleLanguages/{n;n;s/[^t]*<string>\\(.*\\)<\\/string>/\\1/p;}'
~/Library/Preferences/.GlobalPreferences.plist"


-- Gnarlie
_______________________________________________
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: Bill <email@hidden>)

  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Re: Coerce a returned list of objects into a string
  • Previous by thread: Re: Getting the default language with AppleScript
  • Next by thread: Re: Getting the default language with AppleScript
  • Index(es):
    • Date
    • Thread