It's been bugging me for some time that I have to use Command-Option-F to get to the search field in iTunes (or tab a couple of times to get there). So I started looking for some way to assign another keyboard shortcut for getting to the search field.
I found the solution in the Localizable.strings file, which you reach by control-clicking on iTunes, choosing Show Package Contents, and then navigating to Contents -> Resources -> English.lproj. Almost at the bottom of the file there are some commands in a section labeled "Hidden Keyboard Commands." One of these commands is called Target Search Field.
I used the following little trick (which I found here on Doug's AppleScripts for iTunes site) to assign Command-F as the shortcut to the Target Search Field command (quit iTunes first):
defaults write com.apple.iTunes NSUserKeyEquivalents \
-dict-add "Target Search Field" "@F"
I also reassigned the full-screen option of the visualizer, which previously used Command-F, to use Command-Option-F:
defaults write com.apple.iTunes NSUserKeyEquivalents \
-dict-add "Full Screen" "@~F"
And voilĂ ! I'm happy again!
Mac OS X Hints
http://hints.macworld.com/article.php?story=20060217125324514