Re: Placing a new Unix command inside me
Re: Placing a new Unix command inside me
- Subject: Re: Placing a new Unix command inside me
- From: Gil Dawson <email@hidden>
- Date: Tue, 04 Oct 2016 17:31:02 -0700
Oh. Wow. I had no idea.
This is just marvelous. (It works, of course. I tried it.)
A lot has happened since I last read an AppleScript book.
Thank you, Shane, for letting me know what I've been missing.
--Gil
On Oct 2, 2016, at 4:45 PM, Shane Stanley < email@hidden> wrote:
On the other hand, you can get most of that information without hmscreens:
use AppleScript version "2.4" -- Yosemite (10.10) or later use framework "Foundation" use framework "AppKit" use scripting additions
set allInfo to {} set theScreens to current application's NSScreen's screens() repeat with aScreen in theScreens set theInfo to aScreen's deviceDescription() as record set theInfo to theInfo & aScreen's frame() as record set end of allInfo to theInfo end repeat return allInfo
|
_______________________________________________
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