Autor Beitrag
Swordooo
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Mo 29.06.09 12:43 
Hi,
Ich möchte an zwei "notepad.exe" einen Tastenanschlag der Enter-Taste senden.
D.h. ich möchte dies nicht mit
ausblenden Delphi-Quelltext
1:
2:
keybd_event(VK_RETURN, 000);
keybd_event(VK_RETURN, 0, KEYEVENTF_KEYUP, 0);

tun, sondern so, dass die beiden Editor minimiert sein können.
Jedoch habe ich nichts passendes zum senden von Tastendrücken an (minimierte) Anwendungen gefunden, noch zum senden dieser an zwei gleichnamige Prozesse.
Es wäre nett, wenn Ihr mir bei meinem Problem weiterhelfen könntet.

Lg Swordooo


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Mo 29.06.2009 um 13:21
Moderiert von user profile iconNarses: Titel erweitert.
ffgorcky
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 573

WIN XP/2000 & 7Prof (Familie:Win95,Win98)

BeitragVerfasst: Mo 29.06.09 14:34 
Hast Du Dir das Thema 78206 schon angeguckt?
Da geht es doch wohl genau um Dein Problem - oder?
Ich habe nur dieses:"tastendruck fenster senden" (ohne die Hochkommas!) in die suchzeile eingegeben...

- Oder habe ich Dich jetzt doch falsch verstanden?
Swordooo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 119

W2K, Windows XP Professional
Delphi 2005 Personal, Delphi 7 Personal
BeitragVerfasst: Mo 29.06.09 15:14 
Danke ja, sry, ich hätte es in der Suche finden müssen^^
Lg