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 > Developer Center > Bouncing the Dock Icon

Bouncing the Dock Icon
Thread Tools
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jun 17, 2004, 09:33 PM
 
Anyone know how to do this in Objective-C? I have searched through NSApplication and NSWorkspace to no avail. Thanks!
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jun 17, 2004, 09:51 PM
 
-[NSApplication requestUserAttention:]
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jun 18, 2004, 08:17 AM
 
Originally posted by Chuckit:
-[NSApplication requestUserAttention:]
I read that, but it seemed as if it was there to do anything but bounce the dock. I will still check it out tonight...
     
Forum Regular
Join Date: Aug 2001
Location: Vienna, Austria
Status: Offline
Reply With Quote
Jun 19, 2004, 07:37 AM
 
According to some rumors, that behaviour will change in Mac OS X Tiger, that's probably why they don't mention the dock in the documentation for that method.
     
Professional Poster
Join Date: Sep 2000
Location: Texas
Status: Offline
Reply With Quote
Jun 23, 2004, 09:35 AM
 
Forgot to mention this, but:

[NSApp requestUserAttention:0];

will bounce the dock just fine. Thanks!
     
   
Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:36 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2