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

Add a Hide Others shortcut - revisited System
I was trying the previously posted tip on adding a command key to the "Hide Others" menu item, but it didn't seem to work, so I did some poking around, and came up with this set of instructions.

Read the rest of this article if you'd like the 10.1 method of adding a "Hide Others" keyboard shortcut.


[Editor's note: I have not tried this myself yet...]

Fire up the Terminal, and enter these commands:
cd /System/Library/Frameworks/Carbon.framework/Versions/A/
cd Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/StandardMenus.nib/
sudo cp objects.xib objects.xib.old
Enter your root password to confirm.

Next open "objects.xib" in the text editor of your choice, with root access. To find the section that needs changing, search for "Hide Others".

Add the following in the next two lines:
<string name="keyEquivalent">h</string>
<int name="keyEquivalentModifier">1179648</int>
When you are complete, the section should look like this:
<object class="IBCarbonMenuItem" id="260">
<string name="title">Hide Others</string>
<string name="keyEquivalent">h</string>
<int name="keyEquivalentModifier">1179648</int>
<ostype name="command">hido</ostype>
</object>
Save your changes, and restart your computer.

It doesn't seem to work in all applications (TextEdit, Terminal, & Preview for example), but it does work in IE, iTunes, Interarchy, and other Carbon apps. If anyone can figure out how to make it work across the board, that would be great.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[4,302 views]  

Add a Hide Others shortcut - revisited | 2 comments | Create New Account
Click here to return to the 'Add a Hide Others shortcut - revisited' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bring All to Front
Authored by: freeandunmuzzled on Nov 28, '01 04:30:35AM

I used this technique to add a shortcut for Window->Bring All to Front, replacing "h" with "w", like so:

<string name="keyEquivalent">w</string>
<int name="keyEquivalentModifier">1179648</int>

It only seems to have affected the finder however ( i only logged out rather than restarting, not sure if this matters ).



[ Reply to This | # ]
Dragthing auto-hides when switching
Authored by: lb on Jan 03, '02 04:23:22PM

Maybe not what you are looking for, but Dragthing has an option to hide others automatically when switching applications.



[ Reply to This | # ]