Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (31 sloc) 2.8 KB


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:


#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

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/" | 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

  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.