Task

external interface Task(source)

Properties

Link copied to clipboard
abstract var arguments: String

The command line arguments when program is executed.

Link copied to clipboard
abstract var description: String

Description of this task.

Link copied to clipboard
abstract var iconIndex: Double

The icon index in the icon file. If an icon file consists of two or more icons, set this value to identify the icon. If an icon file consists of one icon, this value is 0.

Link copied to clipboard
abstract var iconPath: String

The absolute path to an icon to be displayed in a JumpList, which can be an arbitrary resource file that contains an icon. You can usually specify process.execPath to show the icon of the program.

Link copied to clipboard
abstract var program: String

Path of the program to execute, usually you should specify process.execPath which opens the current program.

Link copied to clipboard
abstract var title: String

The string to be displayed in a JumpList.

Link copied to clipboard
abstract var workingDirectory: String?

The working directory. Default is empty.