the reason why i want to know the position of the dock is because i want to 
latch on to it, over it.
and i would like to be of the same width and same proportions.

I guess i can calculate the height and the width according to the tilesize in 
the Dock preferences file.

Sandro Noël



On 2010-02-14, at 1:37 PM, Steven Degutis wrote:

> The only ways I can think of are through the Accessibility API (which must be 
> enabled in the user's System Preferences for this to work) or by asking 
> com.apple.dock.plist ... though, generally this kind of thing is not 
> necessary (which explains why there is no formal API for it). I would suggest 
> looking into alternatives like hiding the Dock and Menu Bar from the user, if 
> that's your concern.
> 
> -Steven
> 
> On Sun, Feb 14, 2010 at 1:10 PM, Sandro Noël <sandro.n...@gestosoft.com> 
> wrote:
> Greetings.
> 
> Is there a way to determine the dock position on screen (left, right, bottom) 
> and it's (width - height) ?
> 
> thank you!
> 
> 
> Sandro Noël
> 
> _______________________________________________
> 
> 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/steven.degutis%40gmail.com
> 
> This email sent to steven.degu...@gmail.com
> 
> 
> 
> -- 
> Steven Degutis
> http://www.thoughtfultree.com/
> http://www.degutis.org/

_______________________________________________

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