Storages & Files HotKey
HotKey read/write property

Sets/gets keyboard key combination code that will activate the shortcut. In the real world this will happen only if the shortcut is processed for the hot key. Usually the hot-keys take effect if they are in the Start menu but you cannot be sure the hot key will have any effect if the shortcut is saved in another location.


object.HotKey = number
variable = object.HotKey 


For information how to create the code for certain hotkey see MSDN (Virtual key codes). The same values are used here.

Applies to: SFShellLink object

Supported on:

Windows 95/NT and later


newObjects Copyright 2001-2006 newObjects [ ]