Re: Getting the default language with AppleScript
Re: Getting the default language with AppleScript
- Subject: Re: Getting the default language with AppleScript
- From: Chris Espinosa <email@hidden>
- Date: Wed, 7 Jul 2004 10:46:27 -0700
On Jul 7, 2004, at 9:54 AM, Graff wrote:
>
On Jul 7, 2004, at 12:16 PM, Emmanuel wrote:
>
>
> At 10:55 AM -0400 07/07/04, Paul Skinner wrote:
>
>> On Jul 7, 2004, at 9:52 AM, Emmanuel wrote:
>
>>
>
>>> Sorry if this has been said already, but I use:
>
>>>
>
>>> -------------
>
>>> system attribute "LANG"
>
>>
>
>>
>
>
>
> Thanks for the input! I suppose I'll have to change my habits!
>
>
>
> I can't test that right now, but I wonder what "system attribute"
>
> alone returns?
>
>
Here's what I get under Mac OS X 10.3.4:
>
----
>
system attribute
>
>
--> {"SECURITYSESSIONID", "HOME", "SHELL", "USER", "PATH", "TERM",
>
"TERM_PROGRAM", "__CF_USER_TEXT_ENCODING"}
>
----
As documented:
system attribute: Test attributes of this computer
system attribute anything -- the attribute to test (either a
Gestalt value or a shell environment variable).
[has integer] -- test specific bits of response (ignored for
environment variables)
Result: anything -- the result of the query (or a list of all
environment variables, if no attribute is provided)
_______________________________________________
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.