bool SendKey(int key, uint modifiers = 0, uint target = 0)

Sends a keyboard key value to target. Trust Level Required: High


Name Description
key A Windows virtual key value.
modifiers Optional modifier key mask. Mask Flags: Shift = 1, Ctrl = 2, Alt = 4
target Optional target. Targets: Current = 0 (Sends to whatever currently has focus), Smart = 1 (Currently unused), Browser = 2 (Sends to the active browser)


True if the key was sent.