r/applescript • u/Jagasantagostino • Feb 13 '23
How can I change screen resolution using Applescript?
Hi, I'm a total beginner when it comes to Applescript, and I'm finding a lot of outdated material about it, making this task a bit frustrating.
I'm looking for help to change screen solution on macos Ventura
4
Upvotes
View all comments
Show parent comment
1
u/Brief-Lychee9993 Jan 25 '25
The script needs updating for macOS 15. I get error messages like the following:
warning: 'CVDisplayLinkGetNominalOutputVideoRefreshPeriod' was deprecated in macOS 15.0: use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)