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

Modify shadowGoogle's input box properties Apps
Earlier today, I posted a hint about how much I liked the freeware application shadowGoogle. As I used the program today, I realized that the only things I didn't really like about it were the background color of the input box and the font used when typing the search string. The all-white background contrasted too much with my desktop, and the text was too big for the longer strings that I was typing.

Luckily, shadowGoogle is a Cocoa application, so modifying those items is relatively trivial (assuming you have the Developer Tools installed). Read the rest of the article for the basic how-to...

Before you start, make a copy of the shadowGoogle application in the Finder, and do all your editing on the copy. If something goes wrong, revert back to the original.

The input box and its font are stored in a file named "MainMenu.nib", which is located in Contents/Resources/English.lproj within the application's package (control-click to show the package contents). For some reason, I wasn't able to navigate to this folder in the Finder (the "Contents" folder is greyed out). However, it was easy to get to in the Terminal.

Once you've located the file, simply double-click it (if in the Finder) or type open MainMenu.nib (if in the Terminal). This should open the file with ProjectBuilder. You'll see a number of windows, but the one we're interested in is labeled "Window", and contains a blank white box at the right edge. Click once on the box so that the entire box is highlighted, and then select Tools -> Show Info (or just shift-command-I). This opens the information box for the selected text field.

In the "Colors" section of the dialog box, click on the "Text" and "Background" colors to bring up a color picker. As you set your preferred background color, you should see the box change on the screen. Feel free to change the text alignment and border style if you wish.

To change the font, select Format -> Font -> Show Fonts and select the typeface and size that you'd like to use.

Once you're done, save your changes and quit ProjectBuilder. Launch the copy of shadowGoogle and enjoy your new background color and/or font! I'm now using a nice small dark-blue Verdana 11 point font against a faint-blue background, which is much less obtrusive on my desktop.

I'm sure there are tons of other cool things that can be done with ProjectBuilder, but this hint just covered the entire breadth of my Cocoa knowledge!
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,873 views]  

Modify shadowGoogle's input box properties | 7 comments | Create New Account
Click here to return to the 'Modify shadowGoogle's input box properties' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: greyed out...
Authored by: jiclark on Jul 01, '02 01:32:56AM

<For some reason, I wasn't able to navigate to this folder in the Finder (the "Contents" folder is greyed out). However, it was easy to get to in the Terminal.>

I discovered (for my setup anyway) why the Contents folder was greyed out: As long as there are spaces in the folder and/or app name, the Contents folder is inaccessable. When I removed " 1.5" (the version number) from both the folder and the app names, Contents was no longer greyed out! I thought to try this because I was having trouble 'cd-ing' to the file in the article...

Hope this helps others,
John



[ Reply to This | # ]
Mirror for shadowGoogle?
Authored by: alajuela on Jul 01, '02 08:18:42PM

Is there a mirror? The author's iTools account has been temporarily suspended due to bandwidth drain.



[ Reply to This | # ]
Mirror for shadowGoogle?
Authored by: stupidfish23 on Jul 02, '02 03:45:26AM

mirror: http://homepage.mac.com/dextop/shadowGoogle15.sit

have fun.

stupidFish23



[ Reply to This | # ]
Mirror for shadowGoogle?
Authored by: dombi on Jul 02, '02 03:46:40AM

Because of Apple's new bandwith usage policy sometimes people cannot download shadowGoogle. Here are both links you can try:

http://www.versiontracker.com/redir.fcgi/kind=4&db=mac&id=15252/shadowGoogle15.sit

and

http://www.versiontracker.com/redir.fcgi/kind=1&db=mac&id=15252/shadowGoogle15.sit

Good luck!!!

Dombi



[ Reply to This | # ]
Rollover
Authored by: JakeK on Jul 02, '02 07:26:46AM

If you go to: Tools > Show Info > Help, you can set a rollover 'tooltip.' I also liked the idea of having a simple text field without the word "Google" beside it, so I put "Google Search" in the tooltip instead.



[ Reply to This | # ]
shadowGoogle and Chimera
Authored by: Fap! on Jul 05, '02 05:48:54PM

I was define Chimera 0.3 as my default browser. Chimera's a great browser, but have some bugs. Example: shadowGoogle does not work with Chimera. Anyone have a solution?



[ Reply to This | # ]
trnaslucency
Authored by: djn1 on Jul 27, '02 07:05:30AM

>I'm now using a nice small dark-blue Verdana 11 point font against a faint-blue background, which is much less obtrusive on my desktop.

It\'s also worth mentioning that you can use the colour picker to set the transluceny of the background. This makes it even more discreet. AZnd thanks for the tip.



[ Reply to This | # ]