An instance of NSMove​Command moves the specified scriptable object or objects; for example, it may move words to a new location in a document or a file to a new directory.


NSMove​Command is part of Cocoa’s built-in scripting support. It works automatically to support the move AppleScript command through key-value coding. Most applications don’t need to subclass NSMove​Command or invoke its methods. However, for circumstances where you might choose to subclass this command, see "Modifying a Standard Command" in Script Commands in Cocoa Scripting Guide.

When an instance of NSMove​Command is executed, it does not make copies of moved objects. It removes objects from the source container or containers, then inserts them into the destination container.


Working with specifiers

var key​Specifier:​ NSScript​Object​Specifier

Returns a specifier for the object or objects to be moved.


Inherits From