I want to make AppleScript to automate the task of switching resolution on a MacBook Pro Retina.
Searching the Internet for โapplescript system settingsโ I came across a page that shows some settings. Being a modified version of a new thing, it is not documented.
This leads to a bigger problem that I encountered with AppleScript (remember that in addition to copy-paste, I never programmed anything in it). Where, for example, is the documentation that tells me that the "System Preferences" object is actually called "System Preferences", that it has objects called the "panel", they have an identifier and that the exposure identifier is "com.apple.preference. expose "?
It seems that for each program there should be some "secret" documentation, and they should be huge, displaying all the hierarchies of objects and possible actions. After all, the core of AppleScript is minimal, and all you do is manipulate such programs. But where are they documented?
source share