HotKey
(table) A table containing an optional system-wide key combination that will launch the shortcut, indexed by the following keys:
KEY |
TYPE DESCRIPTION |
|||
shift |
boolean |
Whether the "shift" modifier key was held down as part of the key combination. The value true means it was held down and false means it wasn't. This value can be accessed using tb.shift. |
||
ctrl |
boolean |
Whether the "ctrl" modifier key was held down as part of the key combination. The value true means it was held down and false means it wasn't. This value can be accessed using tb.ctrl. |
||
alt |
boolean |
Whether the "alt" modifier key was held down as part of the key combination. The value true means it was held down and false means it wasn't. This value can be accessed using tb.alt. |
||
keycode |
number |
The virtual key code of the key that was pressed. This value can be accessed using tb.keycode. |
||
Note: If you do not want to assign a hotkey for the shortcut, nil should be passed (nil is the default value). |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Shell.DeleteShortcut
OverviewExamples
Shell.DeleteShortcut ( string Folder,
string Description )
De s cr ip t ion
Removes a shortcut from the user's system.
P arame t er s
Folder
(string) The path to the folder where the shortcut is located.