Hallo
ich hoffe ich bin als Neuling hier richtig und hoffe mir wird hier geholfen
Ich suche ein Script dass Winamp öffnet und eine Tastendruck an Winamp übergibt
Z.B.: die Taste x die in winamp "Play" bedeutet"
bislang habe ich es so versucht
Code
xample()
Func Example()
; Run Notepad with the window maximized.
Local $iPID = Run("C:\Program Files (x86)\Winamp\winamp.exe", "", @SW_SHOWMAXIMIZED)
WinActivate ( "winamp" )
Send("x")
; Wait 10 seconds for the Notepad window to appear.
WinWait("[CLASS:Winamp]", "", 10)
; Wait for 2 seconds.
Sleep(2000)
; Close the Notepad process using the PID returned by Run.
ProcessClose($iPID)
EndFunc ;==>Example
Alles anzeigen
Winamp wird geöffnet jedoch wird die Taste nicht übergeben Ich habe gehört das die Taste immer an das aktive Fenster übergeben wird aber wie bekomme ich winamp dann aktiv?
Ich hoffe hier wird mir geholfen
vielen Dank
Gruß
Tobias