Re: Desktop Bounds Broken in Tiger?
Re: Desktop Bounds Broken in Tiger?
- Subject: Re: Desktop Bounds Broken in Tiger?
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 21 May 2005 06:40:29 -0400
on 2005-05-20 8:28 AM, Jason Bourque at email@hidden wrote:
> This worked in Panther
>
> tell application "System Events"
> tell process "Finder"
> set vFoundWindow to first window whose position is {0, 0}
> return the size of vFoundWindow
> end tell
> end tell
>
>
> Any idea¹s on another approach?
tell application "System Events"
tell process "Finder"
return size of first scroll area whose position is {0, 0}
end tell
end tell
Courtesy of PreFab UI Browser.
Note that {0, 0} assumes you don't have a second monitor arranged to the
left of the main (menu bar) monitor.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden