Allow users to control your app with AppleScript and other automation technologies, or run scripts from within your app.
Framework
- Foundation
Allow users to control your app with AppleScript and other automation technologies, or run scripts from within your app.
Framework
NSApple Script
An object that provides the ability to load, compile, and execute scripts.
NSApple Event Descriptor
A wrapper for the Apple event descriptor data type.
NSApple Event Manager
A mechanism for registering handler routines for specific types of Apple events and dispatching events to those handlers.
NSScript Command
A self-contained scripting statement.
NSQuit Command
A command that quits the specified app.
NSSet Command
A command that sets one or more attributes or relationships to one or more values.
NSMove Command
A command that moves one or more scriptable objects.
NSCreate Command
A command that creates a scriptable object.
NSDelete Command
A command that deletes a scriptable object.
NSExists Command
A command that determines whether a scriptable object exists.
NSGet Command
A command that retrieves a value or object from a scriptable object.
NSClone Command
A command that clones one or more scriptable objects.
NSCount Command
A command that counts the number of objects of a specified class in the specified object container.
NSClose Command
A command that closes one or more scriptable objects.
NSScript Object Specifier
An abstract class used to represent natural language expressions.
NSProperty Specifier
A specifier for a simple attribute value, a one-to-one relationship, or all elements of a to-many relationship.
NSPositional Specifier
A specifier for an insertion point in a container relative to another object in the container.
NSRandom Specifier
A specifier for an arbitrary object in a collection or, if not a one-to-many relationship, the sole object.
NSRange Specifier
A specifier for a range of objects in a container.
NSUnique IDSpecifier
A specifier for an object in a collection (or container) by unique ID.
NSWhose Specifier
A specifier that indicates every object in a collection matching a condition.
NSName Specifier
A specifier for an object in a collection (or container) by name.
NSMiddle Specifier
A specifier indicating the middle object in a collection or, if not a one-to-many relationship, the sole object.
NSIndex Specifier
A specifier representing an object in a collection (or container) with an index number.
NSRelative Specifier
A specifier that indicates an object in a collection by its position relative to another object.
NSScript Suite Registry
The top-level repository of scriptability information for an app at runtime.
NSScript Class Description
A scriptable class that a macOS app supports.
NSClass Description
An abstract class that provides the interface for querying the relationships and properties of a class.
NSScript Command Description
A script command that a macOS app supports.
NSScript Whose Test
An abstract class that provides the basis for testing specifiers one at a time or in groups.
NSSpecifier Test
A comparison between an object specifier and a test object.
NSLogical Test
The logical combination of one or more specifier tests.
A collection of default comparison methods useful for performing specifier tests.
A collection of methods useful for comparing script objects.
A collection of methods that provide additional capabilities for working with key-value coding.
A collection of methods providing additional object specifier functionality.
NSScript Coercion Handler
A mechanism for converting one kind of scripting data to another.
NSScript Execution Context
The context in which the current script command is executed.
Manage your app’s work and how it interacts with system services like Handoff and Shortcuts.
Access assets and other data bundled with your app.
Design patterns for broadcasting information and for subscribing to broadcasts.
Manage the interaction between an app extension and its hosting app.
Respond to problem situations in your interactions with APIs, and fine-tune your app for better debugging.