Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OS X ScriptingBridge header archive and Doxygen configuration
Objective-C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Applications
Doxygen
.gitignore
README.md

README.md

ScriptingBridgeDox

An archive of ScriptingBridge headers and Doxygen configurations for a range of Apple and third party OS X applications (OS X 10.6 and above).

Apple's ScriptingBridge (SB) is an application automation technology for Cocoa languages.

The full Doxygen generated documentation set and downloadable zip archives can be viewed at Mugginsoft.

Adding new SB application headers

To add a new header:

  1. Clone this.
  2. Run the sdp tool on the application bundle. See below for details.
  3. Insert the generated header into the Applications folder hierarchy using the template below.
  4. Send us a pull.

Folder hierarchy template:

Applications\<company>\<appname>\OS-X-<ver>\<appname-ver>\<app.h>

Generating SB headers using sdef and sdp

The sdp tool is used in conjunction with the sdef tool to generate a ScriptingBridge header file from an application bundle, say appname.app.

sdp is included as part of Apple's Xcode developer tool chain. When using Xcode 4 it will be necessary to install the command line tools under Preferences - Downloads - Components.

sdef "/path/to/appname.app" | sdp -fh -N appname -o appname.h 

The -N (name) option sets the application prefix that will be used within the generated header file. Failure to set this correctly may result in the use of the default Application term which results in less readable output e.g: the generated application classname will be ApplicationApplicationas opposed to AppnameApplication. This option is also required for application bundles containing spaces in the app name such as Adobe Photoshop CS5.

Email submission

SB application headers will also be accepted by email for inclusion in this archive. Send the following to support@mugginsoft.com.

  1. Application company name (Apple, Adobe, etc).
  2. Application name and link.
  3. OS X version of machine that generated the header (OS X 10.6 and above only please).
  4. Application version as quoted in the About panel.
  5. The SB header itself, either in the body of the email or as an attachment. Use the sdp tool as described above.
Something went wrong with that request. Please try again.