• 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: AppleScript-Users Digest, Vol 4, Issue 123
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 4, Issue 123


  • Subject: Re: AppleScript-Users Digest, Vol 4, Issue 123
  • From: David Hoerl <email@hidden>
  • Date: Mon, 19 Mar 2007 12:20:30 -0400

I'd like to get the dimensions of the visible region of the main monitor. Something like this:

        set mainScreen to call method "mainScreen" of class "NSScreen"
        set [x1, y2, x2, y2] to call method "visibleFrame" of mainScreen

I'd like to do this in a vanilla script, not within AppleStudio. I looked in Standard Additions but didn't see it there.

David
_______________________________________________
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
  • Follow-Ups:
    • dimensions of visible monitor
      • From: Hugh Dixon <email@hidden>
  • Prev by Date: Quark - Find and Replace
  • Next by Date: Re: How to set user interaction to non in Indesign CS2?
  • Previous by thread: Query regarding duplicating Quark Layers
  • Next by thread: dimensions of visible monitor
  • Index(es):
    • Date
    • Thread