You might also try Dock Dodger (freeware):
http://foggynoggin.com/dockdodger
I haven't personally tried it, but it looks like you can adjust the
plist by doing a drag and drop of your application onto Dock Dodger.
Patrick
On Apr 6, 2007, at 1:32 AM, Giles Williams wrote:
> Hmm.
>
> I'm not sure if the Finder Caches the Info.plist - I read somewhere
> it might.
>
> Try editing the lines, moving the app, then launching it. If that
> works, I'm sure theres some Cocoa call to get the Finder to refresh
> it automatically.
>
> Giles.
>
> On 6 Apr 2007, at 09:25, Joshua Coventry wrote:
>
>> Giles,
>>
>> I added those lines into the Info.plist to no avail - the dock icon
>> is still there when I open the app. Maybe I'm doing something
>> wrong...
>>
>> Many thanks,
>> Joshua Coventry
>>
>> On 6 Apr 2007, at 09:07, Giles Williams wrote:
>>
>>> 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>
>>
>> _______________________________________________
>> 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>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>