Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 26, 2007, 05:18 AM   #1
sudeepdua
macrumors newbie
 
Join Date: Nov 2007
Quitting Dock Application

Hi

I have an application for which I have to quit the dock.I know its not advisable to quit the dock as there are other applications running
which are spawned from the dock.This is the reason I want to know what are the applications other than Dashboard which are running with
the parent process as the Dock.

THANKS IN ADVANCE

Sudeep Dua
sudeepdua is offline   0 Reply With Quote
Old Nov 26, 2007, 05:38 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
I think Expose and perhaps Spaces as well. I'd find another way of doing whatever you are doing as the Dock is a core system process.
robbieduncan is offline   0 Reply With Quote
Old Nov 26, 2007, 11:18 AM   #3
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Yea you don't need to quit the Dock unless you're modifying its plist. You can use SetSystemUIMode() to hide it, and you can use some Carbon functions to disable Export/Spaces features.
kainjow is offline   0 Reply With Quote
Old Nov 29, 2007, 07:22 AM   #4
sudeepdua
Thread Starter
macrumors newbie
 
Join Date: Nov 2007
yes that is correct , I'm actually adding an application to the dock and for that I'm adding that application to the com.apple.dock.plist . Is there another way I can achieve it.
Thanks in advance

Sudeep
sudeepdua is offline   0 Reply With Quote
Old Nov 29, 2007, 08:36 AM   #5
byakuya
macrumors 6502a
 
byakuya's Avatar
 
Join Date: Jul 2007
well to add an application to the dock a simple drag n drop should be enough...at least that's how I do it.
__________________
My newly created blog:
Reviews, news, free giveaways iMountIt and more...
http://www.daysofourmacbooks.blogspot.com
byakuya is offline   0 Reply With Quote
Old Nov 29, 2007, 01:53 PM   #6
SC68Cal
macrumors 68000
 
Join Date: Feb 2006
I'm sure users will enjoy your application when it kills their dock and forces all their minimized windows back onto their screens. Or that you decide to make the choices for them, by adding your application to their dock.

Locus of control? Not yours buddy.
SC68Cal is offline   0 Reply With Quote
Old Nov 29, 2007, 01:59 PM   #7
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Quote:
Originally Posted by SC68Cal View Post
I'm sure users will enjoy your application when it kills their dock and forces all their minimized windows back onto their screens. Or that you decide to make the choices for them, by adding your application to their dock.
While I do agree with you, Apple does it with iLife and iWork.
kainjow is offline   0 Reply With Quote
Old Nov 29, 2007, 03:19 PM   #8
SC68Cal
macrumors 68000
 
Join Date: Feb 2006
Quote:
Originally Posted by kainjow View Post
While I do agree with you, Apple does it with iLife and iWork.
Not the same thing. Those apps are included in a Dock that is part of the standard user template.

This guy is talking about usurping the user's authority over his/her workspace and deciding that he's going to get comfy in the person's Dock. Totally unacceptable. When you release software, you are a GUEST on the user's computer. You don't go to someone's house and start rearranging the dinner table before you sit down to eat with them. Same idea here.
SC68Cal is offline   0 Reply With Quote
Old Nov 29, 2007, 03:43 PM   #9
kainjow
Moderator emeritus
 
kainjow's Avatar
 
Join Date: Jun 2000
Quote:
Originally Posted by SC68Cal View Post
Not the same thing. Those apps are included in a Dock that is part of the standard user template.
No I mean Apple's iWork and iLife installers add their apps to the Dock. In my opinion, it is the same thing whether it's Apple or Joe Developer.
kainjow is offline   0 Reply With Quote
Old Nov 29, 2007, 04:43 PM   #10
maxrobertson
macrumors 6502a
 
Join Date: Jun 2006
Location: Jakarta
I agree with the above posters. Do not do this. Even if Apple does with iWork, it's maddening when someone makes choices for you, and it's even more annoying with OS X because quitting the dock unminimizes all minimized windows, closes Expose, messes with Spaces, temporarily turns off Dashboard, and interrupts the workflow. It's just not the way to do things on the Mac. Let the user decide.
maxrobertson is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Any way/application to click on application icon in dock and minimize? TheArgonaut OS X Mavericks (10.9) 3 Dec 6, 2013 08:23 PM
missing dock application images Jamster440 OS X Mavericks (10.9) 0 Oct 22, 2013 06:53 PM
add an application to dock for all users punktilend Mac OS X Server, Xserve, and Networking 2 Aug 31, 2012 01:12 AM
Finally you can close all windows when quitting an application Doc69 OS X 10.8 Mountain Lion 2 Jul 28, 2012 08:51 AM
Application dock item showing ".app" on every application Pipper99 Mac OS X 10.7 Lion 2 Jul 21, 2012 02:00 PM

Forum Jump

All times are GMT -5. The time now is 07:44 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC