Finder window - coordinates and screen?
Finder window - coordinates and screen?
- Subject: Finder window - coordinates and screen?
- From: b UND d <email@hidden>
- Date: Sun, 24 Jun 2007 08:16:38 +0200
Dear all,
I need to find out the coordinates of the first Finder window for
further processing in my app.
Two questions ...
- is there a better/other way than using an NSAppleScript like this?
NSAppleScript *fmostWindow = [[NSAppleScript alloc]
initWithSource:@"tell application \"Finder\" to get bounds of window
1"];
- if not: how do I convert the resulting AppleScript coordinates in
cocoa coordinates and an info on which screen the Finder window
origin is?
probably it's simple but I am too stupid to see it ;-) ...
Many thanks in advance,
Dominik
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden