Re: System Date Format
Re: System Date Format
- Subject: Re: System Date Format
- From: Walter Ian Kaye <email@hidden>
- Date: Wed, 3 Sep 2003 18:09:09 -0700
At 02:24p -0700 09/03/2003, Paul Berkowitz didst inscribe upon an
electronic papyrus:
Does anyone know a shell script for getting the system short date and system
time formats as set in System Preferences?
There must be a way. There are apps which can access these from the system
somehow.
I'd like to know this too. I had figured out how to get the date/time
formats under System 7, but OS X is a whole new ball of earwax.
Hmm... ~/Preferences/.GlobalPreferences.plist
~/Preferences/com.apple.HIToolbox.plist
I don't know whether it would be easier to use `defaults` or parse
the XML yourself. An exercise for the reader. :) In either case,
you'd have to learn what the various codes mean.
-boo
_______________________________________________
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.