• 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
monitor resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

monitor resolution


  • Subject: monitor resolution
  • From: Oakley Masten <email@hidden>
  • Date: Mon, 4 Jun 2007 08:09:08 -0700 (PDT)

	"Robert Poland" <email@hidden>  Add to Address
Book  Add Mobile Alert
Subject:	Re: Monitor resolution
Date:	Thu, 31 May 2007 17:13:17 -0600
To:	"Oakley Masten" <email@hidden>
Assuming you are working with Tiger,

On May 31, 2007, at 3:46 PM, Oakley Masten wrote:
Hi All

OK another simple question.
How do I get monitor resolution and screen bounds?

"Robert Poland" email@hidden  Wrote

tell application "System Events" to set {rightLimit,
bottomLimit} to size of scroll area 1 in process
"Finder"

tell application "Finder"
		activate
		if exists Finder window 1 then -- make sure there is
a window to toggle
			set wdw to Finder window 1
		tell wdw
			set {leftSide, topSide, rightSide, bottomSide} to
bounds

Thanks Robert this is good.  I wish I could make it
work but I can’t.
Yes, I am using Tiger 10.4.9 and ScriptDebugger 4.0.7

It won’t compile

Thanks
Oakley

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: resetting script between runs
  • Next by Date: monitor resolution
  • Previous by thread: Re: Monitor resolution
  • Next by thread: monitor resolution
  • Index(es):
    • Date
    • Thread