KeyDown

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure KeyDown(const Key: Char);

Availability

SCAR Divi 3.35 > Current

Description

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

Example

begin
  KeyDown('a');
  Wait(50);
  KeyUp('a');
end.

See Also