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

Subject: Wdth and depth of current screen resolution


  • Subject: Subject: Wdth and depth of current screen resolution
  • From: Carolyn <email@hidden>
  • Date: Tue, 18 Jul 2006 12:57:21 -0400

If you are running at least 10.4 you can calculate the width and dept from the bounds.

tell application "Finder"
set {TLX, TLY, BRX, BRY} to bounds of container window of desktop
end tell


set theDepth to TLY - BRY
set thewidth to BRX - TLX

_______________________________________________
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


  • Prev by Date: Re: what the heck - text manipulation script
  • Next by Date: Re: what the heck - text manipulation script
  • Previous by thread: Re: what the heck - text manipulation script
  • Next by thread: Rép : what the heck - text manipulation script
  • Index(es):
    • Date
    • Thread