NSAppleScript AppKit Additions

The Application Kit adds a method to the Foundation framework’s NSAppleScript class to handle rich text source. This method becomes part of the NSAppleScript class only for those applications that use the Application Kit.

Overview

For more information, see NSAppleScript in the Foundation Framework API Reference.

Symbols

Obtaining source

var richTextSource: NSAttributedString?

Returns the syntax-highlighted source code of the receiver if the receiver has been compiled and its source code is available.