Zeigt eine "Error" MessageBox an mit optionalem Programmende
#include <WinAPIError.au3>
_WinAPI_ShowError ( $sText [, $bExit = True] )
$sText | Text, der angezeigt werden soll |
$bExit | [optional] Gibt an, ob das Programm danach beendet werden soll: True - beendet das Programm False - kehrt zum Programm normal zurück |
_WinAPI_ShowMsg, _WinAPI_MsgBox
#include <WinAPI.au3>
_WinAPI_ShowError("Fehler 1", False)
_WinAPI_ShowError("Fehler 2", True)
_WinAPI_ShowError("Fehler 3", False) ;MsgBox erscheint nicht, da die vorherige das Skript beendet
While 1
Sleep(10)
WEnd