Autor Beitrag
sonic159
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 76

Windows XP
BDS 2006 Professional
BeitragVerfasst: Di 30.05.06 14:16 
Hallo

gibt es eine möglichkeit Programme zubeenden die ein
bestimmtes Wort als Titel hat?
Zumbeispiel: Wird "LOL" im Titel gefunden soll es beendet werden!

MFG: Sonic159
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 30.05.06 14:28 
ja es ist möglich
ZeitGeist87
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1593
Erhaltene Danke: 20

Win95-Win10
Delphi 10 Seattle, Rad Studio 2007, Delphi 7 Prof., C++, WSH, Turbo Pascal, PHP, Delphi X2
BeitragVerfasst: Di 30.05.06 14:31 
dann sollte man ihm vllt auch sagen wie es möglich ist =)

_________________
Wer Provokationen, Ironie, Sarkasmus oder Zynismus herauslesen kann soll sie ignorieren um den Inhalt meiner Beiträge ungetrübt erfassen zu können.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 30.05.06 14:35 
das hat er nicht gefragt ;)
sonic159 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 76

Windows XP
BDS 2006 Professional
BeitragVerfasst: Di 30.05.06 14:35 
Hallo

könnt ihr mir auch sagen wie das geht??

MFG: Sonic159
PLuS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 98

Win XP, Suse Linux 9.0
D5 Standard, D2005 Personal; Perl; PureBasic
BeitragVerfasst: Di 30.05.06 15:26 
Suche in der Entwickler-Ecke FINDWINDOW dürfte das richtige für dich sein!

ausblenden Delphi-Quelltext
1:
myHandle := FindWindow(NIL, 'lol');					

_________________
Der letzte macht die Tür zu!
sonic159 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 76

Windows XP
BDS 2006 Professional
BeitragVerfasst: Di 30.05.06 18:30 
Hallo!

@PLuS dein Code funktioniert nicht ganz (zummindest bei mir)
Das "MyHandle" wird rot unterstrichen (keine anung warum!!)

Gruß: Sonic159
MrSaint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1033
Erhaltene Danke: 1

WinXP Pro SP2
Delphi 6 Prof.
BeitragVerfasst: Di 30.05.06 18:49 
Einmal den Crashkurs von user profile iconChristian bitte! - Kommt sofort! hier

Nein, im Ernst: schau dir mal den Crashkurs an, du hast es bei dem problem mit "myHandle" mit Basics zu tun ;)


MrSaint

_________________
"people knew how to write small, efficient programs [...], a skill that has subsequently been lost"
Andrew S. Tanenbaum - Modern Operating Systems