PDA

View Full Version : Changing menubar clock TEXT color


metavurt
07-29-2003, 10:18 AM
anyone know how i can change the text color of the menubar clock? just installed Dark Blue theme and now... all text black is hard to read. so sad.

also, for extra credit! (w00t!) - how can i also change the text color of window titles? is that even possible?

thanks!

-+vurt

gatorparrots
07-29-2003, 10:24 AM
You can do it via third-party software:
iClock
http://www.scriptsoftware.com/iclock/
Silk
http://www.unsanity.com/haxies/silk/

Phil St. Romain
07-29-2003, 11:25 AM
PTH Clock (http://www.pth.com/PTHClock/) has some of the configuration features as well, and it's free.

metavurt
07-29-2003, 11:36 AM
thanks all for the links/help! totally cool....

about that "extra credit"...

checked out Silk, but that doesn't seem to change the _color_ of the font globally. just the font type.

any ideas? something i could change via Terminal?

-+vurt

Jacques
07-29-2003, 12:37 PM
see Phil's post above, it's definitely a better menubar clock

Dale Sorel
07-29-2003, 01:55 PM
PTH Clock rocks :cool:

metavurt
07-29-2003, 03:38 PM
cool... and I like these clock apps...! they're nice!

however, still looking to change my text color __globally__. Like, the icon text, the window header text, etc. I have already looked at a file that I believe will do this, but had to open it with HexEdit to look at it. I have no idea what to mess with here, in terms of which parts to change. I'm thinking that 'white' would equal 'FFFFFF' of some sort or variation of that.

The file is "System.clr" and it's location is: ~System->Library->Colors->System.clr->System.clr

yes, the first system.clr is a dir, the second is the file

anyone have any ideas? there's obvious titles next to all the hex, but where to start/stop in my selection/editing i've no idea.

-+vurt

mclbruce
07-29-2003, 03:54 PM
I'll put in a plug here for wclock

http://www.wolfware.com/wclock/index.html

It's free, and text color can be modified, as well as date and time formats.

At first I didn't like this program because it put an icon in my dock while it was running and because the pop-up calendar was brushed instead of white. However there is this web site where I learned how to change the calendar window from brushed to white. Also I learned that, after setting my preferences, I could make the dock icon go away. Now I really like wClock!

Now what was the name of that web site ???

Oh yeah, MacOSXHints! :-)

msmercury01
07-30-2003, 12:33 AM
so how do i get rid of the clock on my dock? Also when I open it up it shows the harddisk wclock icon on my desktop and won't go away even if I quit the application. I like the clock.
Teri

mclbruce
07-30-2003, 03:48 AM
Here is the link on how to hide the dock icon:

http://www.macosxhints.com/article.php?story=20010701191518268

Make sure you set the preferences first because this also hides the menu items! The clock will still show up though.

I think you haven't quite finished installing wClock, which is why you get the hard disk icon. When you open that icon you will see a wClock in there. Drag it to your applications folder and it will copy over there. Now you can eject the wClock hard disk icon by throwing it in the trash. You can throw away the .img file as well. When you want to use wClock just go to your applications folder and doble click. If you want it to start automatically go to Apple Menu: System Preferences: Login items and add wClock.

msmercury01
07-30-2003, 05:35 AM
Here's a totally computer illiterate question. How do I open the application in text edit? The instructions say "open the app. in your fav text editor". I know how to open the application and I know how to open Text Edit but I don't now how to open an application in Text Edit. Thanks for the info. by the way. I did know how to add it to the login items. ha ha At least I knew that much!
Teri

mclbruce
07-30-2003, 05:51 PM
To get inside wClock right-click or control-click on the icon and select "show package contents." Then navigate to file you want to modify, which is called info.plist.

I had a lot of fun modifying wClock for myself, and I learned a lot in doing so.

djn1
07-30-2003, 05:58 PM
For all the menubar clock fans: you might also want to take a look at PTHClock (http://www.pth.com/PTHClock/) which is also highly configurable.

bluehz
07-31-2003, 09:51 PM
Another vote for PTHClock, small memory footprint and lots of options. Don't forget to turn off the Apple clock and put PTH in your Login Items.

msmercury01
08-07-2003, 02:41 AM
When i go to wclock and control click on it and go to info.plst it says that the application to open it cannot be found. ?
Teri

kyleTron
08-13-2003, 01:10 PM
...isn't something that you can do by editing a text file, as this is decided in the object files of the cocoa framework.

One thing that is possible is to find the built in Quartz function that draws text (possibly -CGCDrawGlyph or -CGCDrawTextTOPoint) and replace them in memory with catagories and/or posing. This is called function overriding. There are many methods in which to do this, requireing that the desired api with an objective-c interface be exposed (hint: apple's documentation)


If you don't know objective-c, the easiest way to do it in mac os x is with APE (Application Enhancer) from UnsanitySoftware (http://unsanity.com) . You will need the ape sdk and the application enhancer. This allows you to write a c function that can replace foundation code in memory. This is how hacks like fruitmenu work. I'm sure someone else has done something like this. Otherwise, if you know c or objective-c, try and do it yourself. it's a lot of fun. You can find all the info about the foundation classes in apple's developer documentation.

-kyle

metavurt
08-13-2003, 01:20 PM
thanks kyle!! i had another reponse in a different thread on the same topic (this one kept on about the dam clock) and it was communicated to me that changing the text was not possible via a theme route, since it is hard coded.

Your info helps greatly. I have no knowledge in obj-c or any cousin of the form, but i do have some of Unsanity's tools. I'll check it out.

Perchance, do you know if there would be a way to script this in with a theme? Or would it have to be a "If you want..." text note within the install folder for users that wish to have different colored text?

thanks again for the info!

-+vurt