API Notes: ScriptingBridge framework¶
These bindings are accessed through the
ScriptingBridge package (that is,
The Objective-C documentation for the scripting bridge frameworks focuses on static tools for creating proxy classes for scriptable applications. This is in general not needed when you’re programming in Python.
In Python you can just as easy create a dynamic proxy object:
iTunes = SBApplication.applicationWithBundleIdentifier_("com.apple.iTunes")
This can then be used to call “AppleScript” methods, like this:
This method is not supported at the moment. Please file an issue if you have a use-case for directly calling this method.