A multi languages solution
Code:
#Include <WinAPI.au3>
#include <Array.au3>
While 1
$_WinList = WinList ( "[REGEXPCLASS:SunAwt]" )
For $_I = 1 To UBound ( $_WinList ) - 1
If WinGetHandle ( "JDownloader" ) = _WinAPI_GetParent ( $_WinList[$_I][1] ) And _
_WinAPI_GetClassName ( $_WinList[$_I][1] ) = 'SunAwtDialog' Then SoundPlay ( @WindowsDir & '\media\notify.wav' )
Next
Sleep ( 2000 )
WEnd
Script ask for a child window of JDownloader and his classname...;)