Autor Beitrag
florian
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 30

Win XP Home
D5 Enterprise
BeitragVerfasst: Mi 23.07.03 17:58 
Hi Leutz,

ich versuche mir eine Winamp-"Fernsteuereung" zu basteln, d.h. ich habe vor verschieden Tasteneingaben an WInamp zu schicken (z.B.: x für abspielen,...)

Nun hab ich allerdings das Problem, das Window-Handle von Winamp zu ermitteln, da die Funktion findwindow ja ClassName oder WindowName vorraussetzt. Da sich der WindowName bei jedem Lied ändert und ich den ClassName nicht weiß, frage ich hier mal um Hilfe.

Kann mir hier irgendjemand sagen, wie der ClassName von Winamp heißt??? :?:

ciao
florian
Cruiser23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 191

WinXP
D7 Prof.
BeitragVerfasst: Mi 23.07.03 18:20 
Nach Suche in: Delphi-Forum, Delphi-Library HANDLE suchen !

Wurde schon mehrmals besprochen :wink: :!:

//Edit: Bzw. Suche in: Delphi-Forum, Delphi-Library ENUMWINDOWS (Sorry, habe das mit dem df-Tag (siehe hier noch nicht gelesen (bzw. nur flüchtig :oops: ), hättest aber auch einfach nur auf "das Blaue", also meinen Link klicken können :D :wink: :D )

_________________
Du steckst immer in der Sch****, das einzige, was sich ändert, ist die Tiefe!


Zuletzt bearbeitet von Cruiser23 am Mi 23.07.03 18:52, insgesamt 2-mal bearbeitet
Martin_Tab
Gast
Erhaltene Danke: 1



BeitragVerfasst: Mi 23.07.03 18:42 
Könntest du mir auch bitte sagen wonach ich genau suchen muss? Also den Suchbegriff?

DANKE!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 23.07.03 19:31 
so arbeiten ja auch plugins !! die plugins suchen sich ja auch nur das hadnel. die machen das so:findWindow('Winamp v1.x',nil);
so bekommst du das handle von einem winamp 2.x player !! wenn du winamp 3 willst schreib statt der 1 eine 2 in den code !

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 24.07.03 10:33 
matze hat folgendes geschrieben:
so arbeiten ja auch plugins !!

Ich glaube nicht das die meisten Plugins so arbeiten. Meistens müssen die Plugins in der Anwendung registiert werden. Die Anwendung läd dann die Plugins (meistens sind es ja nur DLLs) und übergibt spezielle Parameter um den Zugriff auf die Anwendung zu erlauben.

Gruß
Tino
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 25.07.03 13:27 
also das winamp ßplugin tut von www.stnd.de arbeitet so !! und so steht es auch auf der winamp plugion SDK page, dass man das so machen soll !

_________________
In the beginning was the word.
And the word was content-type: text/plain.