KeyboardEvent

Method of IShell

Emulates Keyboard Event

JavaScript

Shell.KeyboardEvent(nVirtualCode, nScanCode, dwFlags, dwExtraInfo);

Visual Basic Script

Shell.KeyboardEvent nVirtualCode, nScanCode, dwFlags, dwExtraInfo

C++

HRESULT hr = Shell.KeyboardEvent(nVirtualCode, nScanCode, dwFlags, dwExtraInfo);