Instance Method

setInsertionClassDescription(_:)

Sets the class description for the object or objects to be inserted.

Declaration

func setInsertionClassDescription(_ classDescription: NSScriptClassDescription)

Parameters

classDescription

The class description for the object or objects to be inserted.

Discussion

This message can be sent at any time after object initialization, but must be sent before evaluation to have any effect.

See Also

Accessing information about a positional specifier

var insertionContainer: Any?

Returns the container in which the new or copied object or objects should be placed.

var insertionIndex: Int

Returns an insertion index that indicates where the new or copied object or objects should be placed.

var insertionKey: String?

Returns the key that identifies the relationship into which the new or copied object or objects should be inserted.

var insertionReplaces: Bool

Returns a Boolean value that indicates whether evaluation has been successful and the object to be inserted should actually replace the keyed, indexed object in the insertion container.

var objectSpecifier: NSScriptObjectSpecifier

Returns the object specifier specified at initialization time.

var position: NSPositionalSpecifier.InsertionPosition

Returns the insertion position specified at initialization time.