Contents

NSUserScriptTask

An object that executes scripts.

Declaration

class NSUserScriptTask

Overview

The NSUserScriptTask class is able to run all the scripts normally run by the one of its subclasses, however it ignores the results. It is intended to execute user-supplied scripts and will execute them outside of the application’s sandbox, if any.

If you need to execute scripts and get the input and output information use the NSUserUnixTask, NSUserAppleScriptTask, and NSUserAutomatorTask sub classes.

Topics

Specifying the Script

Executing the User Script

Constants

Initializers

See Also

Scripts and External Tasks