VKeyDown

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure VKeyDown(const VKey: Byte);

Availability

SCAR Divi 3.35 > Current

Description

Sends a key defined by VKey and holds the key down. The key will only be sent once every time to function is called. To release the key, call VKeyUp.

Example

begin
  VKeyDown(CharToVKey('a'));
  Wait(50);
  VKeyUp(CharToVKey('a'));
end.

See Also