Hiding App-Icon

Mac OSX specific forum
jamirokwai
Enthusiast
Enthusiast
Posts: 772
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Hiding App-Icon

Post by jamirokwai »

Dear board,

if you ever wanted to hide an Application-Icon from emerging in the Dock, here is how to do it...

Open the Package of your .App. Inside "Contents" there is an Info.plist. Open it with Property List Editor and add a line. Left you enter "LSUIElement", which changes to "Application is agent (UIElement)". On the right you check the checkbox to make it happen. Voilà. If you like to edit the Info.plist with your favorite text-editor, add this before the closing </dict>-tag.

<key>LSUIElement</key>
<true>

You redefine your Application to an Agent, which may be used without sitting in the Dock of the bay... 8)
Regards,
JamiroKwai
jamirokwai
Enthusiast
Enthusiast
Posts: 772
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Hiding App-Icon

Post by jamirokwai »

Hi,

I figured, this won't work... Use this instead:

Code: Select all

<key>NSUIElement</key>
<string>1</string>
Regards,
JamiroKwai
jamirokwai
Enthusiast
Enthusiast
Posts: 772
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Hiding App-Icon

Post by jamirokwai »

You would like to add an invisible Window, either using

Code: Select all

#PB_Window_Invisible
or

Code: Select all

OpenWindow(0,0,0,0,0,"")
Regards,
JamiroKwai
jamirokwai
Enthusiast
Enthusiast
Posts: 772
Joined: Tue May 20, 2008 2:12 am
Location: Cologne, Germany
Contact:

Re: Hiding App-Icon

Post by jamirokwai »

You would like to add an invisible Window, either using

Code: Select all

#PB_Window_Invisible
or

Code: Select all

OpenWindow(0,0,0,0,0,"")
Regards,
JamiroKwai
Post Reply