do()
Check availability of “GUI Scripting”
If “GUI Scripting” is enabled, ture is returned.
In OS X 10.9 or before, if “GUI Scripting” is not enabled, the dialog to urge to set to trust your application in the Accessibility section in the Security & Privacy preference pane in System Preferences.And always false is returnend.
In OS X 10.8 or later, if “GUI Scripting” is not enabled, the dialog to ask to enable “GUI Scripting”.If enabling “GUI Scripting” is cancled, false is returnd.
boolean : If true, GUI scripting is enabled.