Expand description
§Bindings to the ScriptingBridge framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- SBApplication
SBApplicationandSBObject - The
SBApplicationclass provides a mechanism enabling an Objective-C program to send Apple events to a scriptable application and receive Apple events in response. It thereby makes it possible for that program to control the application and exchange data with it. Scripting Bridge works by bridging data types between Apple event descriptors and Cocoa objects. - SBElement
Array SBElementArray SBElementArrayis subclass ofNSMutableArraythat manages collections of relatedSBObjectobjects. For example, when you ask the Finder for a list of disks, or ask iTunes for a list of playlists, you get the result back as anSBElementArraycontaining Scripting Bridge objects representing those items.- SBObject
SBObject - The
SBObjectclass declares methods that can be invoked on any object in a scriptable application. It defines methods for getting elements and properties of an object, as well as setting a given object to a new value.
Traits§
- SBApplication
Delegate SBApplication - This informal protocol defines a delegation method for handling Apple event errors that are sent from a target application to an <doc ://com.apple.documentation/documentation/scriptingbridge/sbapplication> object.