Task Type
Constructors
| Constructor |
Description
|
Full Usage:
Task(program, arguments, title, description, iconPath, iconIndex, ?workingDirectory)
Parameters:
string
-
Path of the program to execute, usually you should specify process.execPath which opens the current program.
arguments : string
-
The command line arguments when program is executed.
title : string
-
The string to be displayed in a JumpList.
description : string
-
Description of this task.
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.
iconIndex : float
-
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.
?workingDirectory : string
-
The working directory. Default is empty.
Returns: Task
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.arguments
|
The command line arguments when program is executed. |
Full Usage:
this.description
|
Description of this task. |
Full Usage:
this.iconIndex
|
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. |
Full Usage:
this.iconPath
|
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. |
Full Usage:
this.program
|
Path of the program to execute, usually you should specify process.execPath which opens the current program. |
Full Usage:
this.title
|
The string to be displayed in a JumpList. |
Full Usage:
this.workingDirectory
|
The working directory. Default is empty. |
fable-electron-docs-api