• 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: Martin Orpen <email@hidden>
  • Date: Wed, 07 Jul 2004 01:05:17 +0100

on 7/7/04 12:35 am, email@hidden at email@hidden wrote:

> tell application "Dock" to quit
>
> tell application "System Events"
> repeat until (process "Dock" exists)
> end repeat
> end tell
>
> delay 5
> do shell script "defaults read com.apple.dock loc"
>
> ... which always produces the current 'default language' setting, at
> least here* it does.

It doesn't work here in Script Debugger:

2004-07-07 01:01:53.280 defaults[4933]
The domain/default pair of (com.apple.dock, loc) does not exist

10.3.4 on PowerBook 1.25GHz - and same error as others have pointed out - it
doesn't exist...

Regards

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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: email@hidden)

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