|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
1. How do I get the version of the OS?
2. How do I most reliably ascertain the local language. I say that because
I've been using something like:
set lang to user locale of (system info)
This apparently works fine, or at least I thought so, returning things like
"en_us" or "de_de"; however, lately it's not tracking too well. Currently
I'm set up for German, and in fact all the menus etc. are appearing in
German, only my technique is still returning "en_us". This is the case on at
least two of my machines, so I'm thinking that there must be a better way.
Thinking that perhaps System Events just hadn't gotten the message somehow,
I killed it and restarted it, but that made no difference.
And in fact I have seen an alternative way somewhere, but I have so many
snippets of AppelScript in my mind, and I can't remember where I saw it, but
it basically used System Preferences to determine the language, and I'm
thinking this has to be better than system info.
Thanks in advance.
Bryan Lockwood
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
| References: | |
| >Two quick questions (From: Bryan Lockwood <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.