Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi Keybd Event frage (https://www.delphipraxis.net/64532-keybd-event-frage.html)

A-M-X 4. Mär 2006 20:20


Keybd Event frage
 
Huhu!

Ich progge grad ein Anti-Idle Programm für Chats. Für Privatbedarf.
Folgenden Code benutze ich dafür:

Delphi-Quellcode:
  for I := 1 to Length(S) do
  begin
    Keybd_event(Ord(S[i]), 0, 0, 0);
    Keybd_event(Ord(S[i]), 0, KEYEVENTF_KEYUP, 0);
  end;
Aber wenn ich im "Editor" das ausprobiere kommt folgendes raus:
Zitat:

81/
Wie krieg ich das hin, dass da was richtiges rauskommt?


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:49 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz