Autor Beitrag
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.10.05 17:40 
Hallo,

ich suche eine andere Methode als diese:
ausblenden Delphi-Quelltext
1:
Mouse_Event(MOUSEEVENTF_LEFTDOWN, 100, 100, 0, 0);					

Und zwar wird bei dieser Methode in das Fenster mit Focus geklickt.
Da ich aber das Prog mehrmals starte, suche ich eine Möglichkeit
bei allen Fenstern gleichzeitig zu klicken. Also jedes Programm
soll sich selber anklicken.

Ich hoffe das hat man verstanden.

Gruß
GTA-Place

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 15.10.05 17:56 
ausblenden Delphi-Quelltext
1:
SendMessage(Handle, BM_CLICK, WM_LBUTTONDOWN, 0);					


mfg matze

_________________
si tacuisses, philosophus mansisses.
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.10.05 17:57 
Das hab ich auch schon gesehen, aber kann man da auch die Koords angeben?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 15.10.05 17:59 
Man kann ein handle angeben, ist doch viel genauer?!

mfg matze

_________________
si tacuisses, philosophus mansisses.
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.10.05 18:03 
Es ist so, dass ich im TWebBrowser auf eine bestimmte Stelle klicken muss.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 15.10.05 18:06 
Dann hat diese bestimmte Stelle auch ein Handle und man kann Handles auch per Koordinaten auslesen. Oder willst du auf eine bestimmte Stelle innerhalb eines Handles drücken? ò.Ó

mfg matze

_________________
si tacuisses, philosophus mansisses.
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.10.05 18:09 
Angenommen ich lade mit dem WebBrowser die EE und nun möchte ich
genau auf den Button Go! bei der Suche klicken.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Sa 15.10.05 18:10 
Ja dann suchste dir das Handle von dem "Go"-Button raus und führst da oben genannten Code für aus. Per Koordinaten ist eh nicht so gut, da es von der auflösung abhängig ist.

mfg matze

_________________
si tacuisses, philosophus mansisses.
GTA-Place Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.10.05 18:59 
Hat ein Flashbutton auch ein Handle und wenn ja, wie finde ich den heraus?

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Sa 15.10.05 20:16 
user profile iconmatze.de hat folgendes geschrieben:
Ja dann suchste dir das Handle von dem "Go"-Button raus und führst da oben genannten Code für aus. Per Koordinaten ist eh nicht so gut, da es von der auflösung abhängig ist.

kann ich mir eigentlich nicht vorstellen, dass das zeug im browser alles mit handles ausgestattet sein soll
wenn ich z.b. mit spy++ opera anschaue, dann hat das aktuelle fenster hier 11 handles, etwas wenig für die vielen buttons, hyperlinks, bildlein usw.

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...