Re: multiple monitors
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