• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding and removing application to the dock programmatically.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding and removing application to the dock programmatically.


  • Subject: Re: Adding and removing application to the dock programmatically.
  • From: "R.L. Grigg" <email@hidden>
  • Date: Mon, 26 Nov 2007 17:56:38 -0800

On Nov 22, 2007, at 7:33 AM, Clark Cox wrote:

On Nov 22, 2007 1:04 AM, Amit8 J <email@hidden> wrote:
Hi All
I have been having a bit of a problem with placing an application in the
Dock. I want to place an application icon in the Dock programically. Is
there some API call which can do this. I Already know another way to do
the same which is by adding the application to
"com.apple.preferences.plist" using "defaults". However the problem with
this way is that the dock has to be restarted to show the change.

This is the only way that I know of to do this, and it is a horrible
idea, for several reasons:
1) It is not supported by Apple, and could change with any OS update
2) Killing the user's Dock also kills all of the things that the dock
is responsible for (such as Dashboard widgets).
3) If I want something in my Dock, I'll put it there; nobody else should do so.

Tell this to Apple. The installation of iWork '08 and iLife '08 do this and its very annoying.
Russ


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Adding and removing application to the dock programmatically. (From: Amit8 J <email@hidden>)
 >Re: Adding and removing application to the dock programmatically. (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: Creating subviews programmatically ?
  • Next by Date: Re: Creating subviews programmatically ?
  • Previous by thread: Re: Adding and removing application to the dock programmatically.
  • Next by thread: NSIndex with discontinuous values
  • Index(es):
    • Date
    • Thread