• 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
Wdth and depth of current screen resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wdth and depth of current screen resolution


  • Subject: Wdth and depth of current screen resolution
  • From: Wil Baden <email@hidden>
  • Date: Mon, 17 Jul 2006 17:49:12 -0700



How can I get:

width and depth of current screen resolution ?

Yesterday the following worked.

on desktop_size()
    tell application "System Events"
        tell process "Finder"
            return size of first scroll area whose position is {0, 0}
        end tell
    end tell
end desktop_size

Today, thanks to egregious advice from AppleCare, it doesn't.

I'm running 10.4.7 on 17 inch MacBook Pro.


_______________________________________________ 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: Wdth and depth of current screen resolution
      • From: kai <email@hidden>
  • Prev by Date: Re: Mail rules firing an applescript
  • Next by Date: Re: Wdth and depth of current screen resolution
  • Previous by thread: Re: Mail rules firing an applescript
  • Next by thread: Re: Wdth and depth of current screen resolution
  • Index(es):
    • Date
    • Thread