Hi Josh.

You can do it (not at runtime - you have to quit the app and open it  
again) by going into the app's Info.plist and adding in these lines:
<KEY>NSUIElement</KEY>
<STRING>1</STRING>

I don't know of any way to do it at runtime, and I don't actually  
think there is a way....

Hope that helps,
Giles Williams.

On 6 Apr 2007, at 08:58, Joshua Coventry wrote:

> Hello,
>
> What is the best way to hide an RB application's dock icon at runtime
> through code?
>
> My app is a utility and it can be operated through a status menu and
> the user has the option to hide the dock icon.
>
> Many thanks,
> Joshua Coventry
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to