Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: Display the clock in a window and in the menu bar System
If you check in the Date & Time preferences, you only have a choice between displaying your clock in the menu bar or as a window. However, there's an easy way to do both. Set the preferences to display the clock in the menu bar, and set the following as a Startup Item in the Accounts preferences:

/System -> Library -> CoreServices -> Menu Extras -> Clock.menu -> Contents -> Resources -> WindowClock.app

You'll need to select Show Package Contents for Clock.menu, then drag WindowClock.app into the Startup Items list. Alternatively, you can just launch the above from the command line, or even create an alias to it and launch it when you want with a double-click.

Note that if you change the Date & Time prefs to Window then back to Menu bar, it will quit the WindowClock.app.
    •    
  • Currently 2.13 / 5
  You rated: 2 / 5 (8 votes cast)
 
[10,247 views]  

10.3: Display the clock in a window and in the menu bar | 4 comments | Create New Account
Click here to return to the '10.3: Display the clock in a window and in the menu bar' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Display the clock in a window and in the menu bar
Authored by: Angus on Nov 18, '03 08:39:08PM

Thanks, that was bugging me. I put the Window Clock on my other montor, but I keep looking to the menu bar out of habit.

I just copied the WindowClock app to my apps folder and double-clicked it. I'll add it to the Startup Items now.



[ Reply to This | # ]
10.3: Display the clock in a window and in the menu bar
Authored by: robmorton on Nov 19, '03 08:57:17AM

So does anyone know why the Clock window does not respond to a control-click? With a two button mouse you can right-click it and get the same thing as clicking on the menu, but there is no way to control click on it. Not a big deal, but it always seemed strange to me coming from a die hard one button company.



[ Reply to This | # ]
10.3: Display the clock in a window and in the menu bar
Authored by: chally on Apr 16, '04 02:36:46PM
Well, they didn't feel like putting this up as a hint, so I'll paste it in here. I don't understand why they publish worthless "hints" that are plainly obvious OS features but they won't publish useful scripts and techniques when they're provided, so here it is as a reply to an earlier related and useful hint. Apple really screwed up the clock application in OS X v10.3 Panther by making it no longer a real application so you can't easily hide the clock window or configure the clock. I got tired of screwing with the System Preferences to show and hide the clock when I want to watch a movie, so I wrote this simple script to toggle the viewable state of the clock. Hope you find it as useful as I have:
-- Toggle Clock.scpt

tell application "Finder" to set theCount to 
	the count of (processes whose name is "WindowClock")

if theCount > 0 then
	tell application "WindowClock" to quit
else
	tell application "WindowClock" to run
end if


[ Reply to This | # ]
10.3: Display the clock in a window and in the menu bar
Authored by: chally on Apr 19, '04 03:01:21PM
Okay...this has now been published as a hint after all [sheepish grin]. However, a poster pointed out over there that the Finder is no longer the best app to ask about processes, but rather System Events. The script should probably now read:
-- Toggle Clock.scpt

tell application "System Events" to set theCount to 
	the count of (processes whose name is "WindowClock")

if theCount > 0 then
	tell application "WindowClock" to quit
else
	tell application "WindowClock" to run
end if


[ Reply to This | # ]