• 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: multiple monitors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple monitors


  • Subject: Re: multiple monitors
  • From: Steve Mills <email@hidden>
  • Date: Sat, 18 Feb 2017 09:27:37 -0600

On Feb 18, 2017, at 09:19, Yvan KOENIG <email@hidden> wrote:

Hello

Is one of you knowing what is returned by :

use framework "AppKit" -- for NSScreen

set theScreens to (current application's NSScreen's screens())
theScreens's |count|()

when executed on a mac with two monitors ?

I assume that it's 2 but I'm not sure and don't ave several monitors available.

Yes, one NSScreen for each screen. The main screen's react is always at 0,0. The others are offset from that according to their relative position.

Steve via iPad

 _______________________________________________
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

References: 
 >multiple monitors (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: multiple monitors
  • Next by Date: Re: multiple monitors
  • Previous by thread: multiple monitors
  • Next by thread: Re: multiple monitors
  • Index(es):
    • Date
    • Thread