Posts by Felipe Zanella • 11 points
1 post
-
1
votes1
answer131
viewsA: Simulate keystroke - Delphi
Try using the Getasynckeystate(key) function of the winapi package. Windows: procedure TForm2.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if isKeyPress(17) then begin…