Wartet auf ein Dialog-Fenster (z.B.: alert) und schließt es.
#Include <FF.au3>
_FFDialogWait($sText[, $sTitle = ""[, $sClose = "close"[, $iTimeOut = 10000]]])
Parameters
| $sText | Text im Dialog-Fenster. (Substring) |
||||||||||
| $sTitle | (Optional) Titel des Dialog-Fensters. (Substring) | ||||||||||
| $sClose |
|
||||||||||
| $iTimeOut | = 10000 (Default) wie lange das Fenster gesucht wird (min. 1000ms) | ||||||||||
Return Value
| Success: | Returns 1 |
| Failure: | Returns 0 and sets @ERROR |
| @ERROR: | 0 ($_FF_ERROR_Success) 4 ($_FF_ERROR_InvalidValue) 6 ($_FF_ERROR_Timeout) |
Remarks
Funktioniert nicht mit Dialogen die direkt �ber onClick ge�ffnet wurden.
Related
_FFLoadWait
Example
#Include <FF.au3> _FFConnect() If _FFIsConnected() Then _FFOpenURL("http://ff-au3-example.thorsten-willert.de/") _FFImageClick("test_bild_1", "alt") Sleep(3000) ; to see the alert _FFDialogWait("bild") MsgBox(64,"","Alert closed ...") EndIf