Header menu logo fable-electron-docs-api

ShortcutDetails Type

Constructors

Constructor Description

ShortcutDetails(target, ?cwd, ?args, ?description, ?icon, ?iconIndex, ?appUserModelId, ?toastActivatorClsid)

Full Usage: ShortcutDetails(target, ?cwd, ?args, ?description, ?icon, ?iconIndex, ?appUserModelId, ?toastActivatorClsid)

Parameters:
    target : string - The target to launch from this shortcut.
    ?cwd : string - The working directory. Default is empty.
    ?args : string - The arguments to be applied to target when launching from this shortcut. Default is empty.
    ?description : string - The description of the shortcut. Default is empty.
    ?icon : string - The path to the icon, can be a DLL or EXE. icon and iconIndex have to be set together. Default is empty, which uses the target's icon.
    ?iconIndex : float - The resource ID of icon when icon is a DLL or EXE. Default is 0.
    ?appUserModelId : string - The Application User Model ID. Default is empty.
    ?toastActivatorClsid : string - The Application Toast Activator CLSID. Needed for participating in Action Center.

Returns: ShortcutDetails
target : string

The target to launch from this shortcut.

?cwd : string

The working directory. Default is empty.

?args : string

The arguments to be applied to target when launching from this shortcut. Default is empty.

?description : string

The description of the shortcut. Default is empty.

?icon : string

The path to the icon, can be a DLL or EXE. icon and iconIndex have to be set together. Default is empty, which uses the target's icon.

?iconIndex : float

The resource ID of icon when icon is a DLL or EXE. Default is 0.

?appUserModelId : string

The Application User Model ID. Default is empty.

?toastActivatorClsid : string

The Application Toast Activator CLSID. Needed for participating in Action Center.

Returns: ShortcutDetails

Instance members

Instance member Description

this.appUserModelId

Full Usage: this.appUserModelId

The Application User Model ID. Default is empty.

this.args

Full Usage: this.args

The arguments to be applied to target when launching from this shortcut. Default is empty.

this.cwd

Full Usage: this.cwd

The working directory. Default is empty.

this.description

Full Usage: this.description

The description of the shortcut. Default is empty.

this.icon

Full Usage: this.icon

The path to the icon, can be a DLL or EXE. icon and iconIndex have to be set together. Default is empty, which uses the target's icon.

this.iconIndex

Full Usage: this.iconIndex

The resource ID of icon when icon is a DLL or EXE. Default is 0.

this.target

Full Usage: this.target

The target to launch from this shortcut.

this.toastActivatorClsid

Full Usage: this.toastActivatorClsid

The Application Toast Activator CLSID. Needed for participating in Action Center.

Type something to start searching.