Sample Code
This page lists new and recently changed sample code. Most sample code has a revision history, which details additions and changes since the previous version. Look for "Revision History" at the bottom of the sample code page.

Items are listed in reverse chronological order by publication date. To see the list sorted by the type of revision, click Sort by Revision Type. Items published for the first time (First Version) will be at the top of the list, followed by items with new or changed content (Content Update), followed by items with small fixes, such as typos and format errors, but no significant content changes (Minor Change).

New and updated sample code is announced in the bi-weekly Apple Developer Connection News, available as an option to ADC members. See the Membership Overview page for details on joining.
Document Revision Descriptions
On Off
Sort by
Date
Sort by
Title
Sorted by
Revision Type
Sort by
Topic
2008-02-28 SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
First Version Internet & Web, Scripting Bridges
2008-06-02 SimpleScriptingObjects (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Cocoa
2008-06-02 SimpleScriptingProperties (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Cocoa
2008-06-02 SimpleScriptingVerbs (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Cocoa
2008-05-30 ScriptingDefinitions (HTML) (DMG) (ZIP)
Changed code used for "rich text" from 'ctxt' to 'ricT' in the Standard Text Suite in the file ScriptingDefinitions.sdef. Added a ReadMe file that talks about the new, recommened XInclude method for including the Standard Suite in an .sdef file.
Content Update Carbon, Cocoa
2008-05-30 SimpleScripting (HTML) (DMG) (ZIP)
Changed the .sdef so that it uses XInclude to import the Standard Suite from another file instead of providing a definition of the Standard Suite in the .sdef file.
Content Update Cocoa