Skip to content

Instantly share code, notes, and snippets.

View anjiro's full-sized avatar

Daniel Ashbrook anjiro

View GitHub Profile
@henryroe
henryroe / Access NSScreen.scpt
Last active March 7, 2021 21:54
Demonstration of how to use an AppleScript Bundle to enable access to NSScreen in AppleScriptObjC
(*
Copy and paste this script into a new document in AppleScript Editor.
When saving, select "Script Bundle" as File Type.
Save the file to: "~/Library/Script Libraries/Access NSScreen.scptd"
Note: you may need to create the directory: "~/Library/Script Libraries"
Note: while this gist has the file ending "scpt", by selecting the
"Script Bundle" file type, the file extension "scptd" should be added.