Hide an application’s dock icon

dock

Is there an easy way to hide an application's dock icon? For example, I can't hide Iconfactory xScope dock icon. Most similar apps have an option to hide the dock icon, but I can't seem to find one in this app's preferences.

Best Answer

Try editing the app's plist (inside the .app package i.e xScope.app/Contents/Info.plist)

and add or edit the following entry:

<key>NSUIElement</key>
<string>1</string>

Because this hides the menu bars, it should be possible to create a keyboard shortcut in System Preferences>Keyboard>Keyboard Shortcuts for any functionality that you need the menus for.