Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Stop programs from appearing in dock?

Stop programs from appearing in dock?
Thread Tools
Justin Hancock
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 19, 2002, 11:23 PM
 
Alright, I have a program called SnapperHead that takes a screenshot of your desktop whenever someone accesses that page via your IP and it is displayed. I've set it up so it starts automatically with the boot-up.

How can I make it so that program doesn't appear in the dock? And please be specific as I just got my first Mac (an iBook) yesterday and I haven't even begun to get use to it.
     
Ghoser777
Professional Poster
Join Date: Dec 2000
Location: Chicago, Illinois
Status: Offline
Reply With Quote
Dec 19, 2002, 11:58 PM
 
Is it a Cocoa App? I have a program at home that will do it for you, I just never released it.

Do you want me to post it on my site, or would you rather get the command line way of doing this manually?

Matt
     
Justin Hancock  (op)
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 20, 2002, 12:57 AM
 
Cocoa app? o_0

I don't know what that means.
     
BuonRotto
Grizzled Veteran
Join Date: Apr 2001
Status: Offline
Reply With Quote
Dec 20, 2002, 01:09 AM
 
Cocoa is a toolbox for programmers to write applications with. The other major toolbox is called Carbon. Applications written in Cocoa have some differences with Carbon ones in small ways. This is one of those ways.

Anyway, here's a link to another forum to do just what you mention:

http://www.macaddict.com/phpBB2/viewtopic.php?t=1590

Note that you also will lose the menubar for this app when you do this.
     
JB72
Mac Elite
Join Date: Jan 2001
Location: L.A., CA
Status: Offline
Reply With Quote
Dec 20, 2002, 01:15 AM
 
There's a great, free Google search app called http://web.ics.purdue.edu/~mthole/searchling/]Searchling[/URL] that launches w/o a dock icon. Might want to email the author and ask about how he/she did it. Or check the source code.

     
Fuzzle
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 20, 2002, 04:01 AM
 
i was trying to do this...
my solution for some (not all) apps is this
Open up the package (right click-> show contents)
open the Info.plist file with your favorite editor (i use property list viewer)

Add in this string

NSUIElement with a STRING value of 1

I am running iChat without a dock icon...
     
Anomalous
Mac Elite
Join Date: Jul 2002
Location: Right Here
Status: Offline
Reply With Quote
Dec 20, 2002, 04:01 PM
 
Originally posted by Fuzzle:
i was trying to do this...
my solution for some (not all) apps is this
Open up the package (right click-> show contents)
open the Info.plist file with your favorite editor (i use property list viewer)

Add in this string

NSUIElement with a STRING value of 1

I am running iChat without a dock icon...
You are right. Here is another article about it: http://www.macosxhints.com/article.p...10701191518268
     
Angus_D
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 21, 2002, 11:31 AM
 
Originally posted by Fuzzle:
NSUIElement with a STRING value of 1
No no no! Use LSUIElement. NS* tags are deprecated and undocumented
     
megasad
Grizzled Veteran
Join Date: Oct 2002
Status: Offline
Reply With Quote
Dec 21, 2002, 02:19 PM
 
Originally posted by Angus_D:
No no no! Use LSUIElement. NS* tags are deprecated and undocumented
Seriously? I've added a NSUIElement to the uControl startup item, to stop it bouncing in the dock at login. It should be LSUIElement instead? I know both work, but which is supposed to be used for this purpose?
BayBook (13" MacBook Pro, 2.4GHz Core 2 Duo, 4GB RAM, 1TB HD) // BayPhone (iPhone 4, 32GB, black)
     
ksuther
Forum Regular
Join Date: Feb 2002
Location: New York
Status: Offline
Reply With Quote
Dec 21, 2002, 04:22 PM
 
LSUIElement and NSUIElement both work, but Apple doesn't guaruntee that your computer will not start to smoke if you use NSUIElement.

Just use LSUIElement because Apple said they support it, and Apple sometimes does horrible things to unsupported things (*cough* menu extras *cough*)
     
ianmeyer
Fresh-Faced Recruit
Join Date: Dec 2002
Location: queens, ny
Status: Offline
Reply With Quote
Dec 21, 2002, 07:58 PM
 
I had been wondering how to do that! Thanx!
     
JeremyA
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Dec 21, 2002, 08:46 PM
 
Originally posted by Fuzzle:

Add in this string

NSUIElement with a STRING value of 1
I'm sure that someone will correct me if I'm wrong but I think that this technique only works for cocoa apps and I think that SnapperHead is carbon.

Jeremy
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:26 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,