On Tue, 12 Oct 2010 10:49:04 -0700, Wim Lewis said:

>There isn't a specific API for manipulating the dock, but many people
>have found that it works to change the 'persistent-apps' and 'persistent-
>others' keys in the com.apple.dock preferences domain and then send the
>dock process a HUP signal (or just kill it; it will be automatically
>restarted).

The Dock responds to the quit apple event, which is a much friendlier
way of quitting it:

tell application "Dock"
  quit
end tell

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to