# applescript
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use framework "AppKit"
use scripting additions
set allFrames to (current application's NSScreen's screens()'s valueForKey:"frame") as list
--- {{{0.0, 0.0}, {2560.0, 1440.0}}, {{-1680.0, 0.0}, {1680.0, 1050.0}}}