Re: Desktop Bounds Broken in Tiger?
Re: Desktop Bounds Broken in Tiger?
- Subject: Re: Desktop Bounds Broken in Tiger?
- From: Jason Bourque <email@hidden>
- Date: Mon, 23 May 2005 09:05:17 -0400
Thanks Bill!
On 5/21/05 6:40 AM, "Bill Cheeseman" <email@hidden> wrote:
> 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
_______________________________________________
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