• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Desktop Bounds Broken in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Desktop Bounds Broken in Tiger?
      • From: Jason Bourque <email@hidden>
References: 
 >Desktop Bounds Broken in Tiger? (From: Jason Bourque <email@hidden>)

  • Prev by Date: Remote AppleEvents for Folder Path
  • Next by Date: Waiting for a diskimage to mount...
  • Previous by thread: Re: Desktop Bounds Broken in Tiger?
  • Next by thread: Re: Desktop Bounds Broken in Tiger?
  • Index(es):
    • Date
    • Thread