Re: [OT] network time servers
Re: [OT] network time servers
- Subject: Re: [OT] network time servers
- From: email@hidden
- Date: Wed, 14 Apr 2004 01:45:16 -0400
Anyone know where the system keeps that list of Apple's time servers?
'/System/Library/PreferencePanes'
I'd like to add my server to that list so I can switch between them
ad nauseum; is it in a plist somewhere?
No, but close - in '.strings' and '.nib' Files.
01. Locate and open the '/System/Library/PreferencePanes' Folder.
02. Do a 'Show Package Contents' selection ['<control> - click' or
right Button click - if you have a multiple Button Mouse] on the
'DatAndTime.prefPane' File.
03. Select to 'List' View ['Command - 2' or 'Finder's 'View, as
List' Menu item] and click the disclosure Triangle of the 'Contents'
Folder.
04. Click the disclosure Triangle of the 'Resources' Folder.
05. Do a 'Show Package Contents' selection on the 'DateTime.prefPane' File.
06. Select 'List' View and click the disclosure Triangle of the
'Contents' Folder. [A pity that Folder's Windows cannot always be set
to open in 'List View']
07. Click the disclosure Triangle of the 'Resources' Folder.
08. Click the disclosure Triangle of, at least, the 'English.lproj'
Folder. (You should reflect the Changes made in Steps 10 and 15
below in all the corresponding 'xyz.lproj' 'Localizable.strings' and
'TimePref.nib' Files)
09. Double click on the 'Localizable.strings' File [XCode will open
the File], or drag its Icon onto 'TextEdit'.
10. The third Paragraph starts with - /* Strings use as domains to
use as time servers */
The Number of Items beneath the Comments are the PopUp Menu Items and
their respective URLs.
If you edit, remove, or add Items in Step 15 below, make sure to make
a respective change here also.
11. Double click on the 'TimePref.nib' File. 'Interface Builder'
will launch to display the File.
12. Locate and bring front most the '<<do not localize>>' Window.
13. Locate and click on the PopUp Menu with 'Apple Americas/U.S.
(time apple.com)' in it.
14. Select the 'Tool, 'Show Info' Menu item.
15. Under the 'Attributes' PopUp Menu - the last Items: 'Visible
items: '3' and the three PopUp Menu items are listed below 'Visible
Items:' are what have to needs to be edited, removed, or added, as
also the Lines beneath the Comments of Paragraph in Step 10 above.
If you remove the listed Servers and add only yours, then remember to
change 'Visible items:' to '1'.
The bottom most TextEdit Field in the 'Show Info' Window is where you
enter the PopUp Menu Items String. Use the nearby Controls to add /
remove, etc. it in Step 10 where the PopUp Menu's String is then
associated with a URL.
Suggestions:
01. Log in as 'root' before doing the above Steps.
02. In the '/System/Library' Folder, create a Folder and rename it
'PreferencePanes_Master'.
03. Do an '<option - click and drag>' of 'DateAndTime.prefPane' in
'/System/Library/PreferencePanes' to the
'/System/Library/PreferencePanes_Master' Folder.
04. Edit the 'DateAndTime.prefPane' File in the
'/System/Library/PreferencePanes' Folder, as per the above Steps.
05. You can verify the changes via 'System Preferences' 'Date &
Time' before or after logging out of 'root'.
Perform any or all of the above Steps - and you assume all liability.
--
SJWL
_______________________________________________
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.