#include 'Notify.au3'
Opt('TrayAutoPause', 0)
HotKeySet('{ESC}', 'On_Exit')
Global $fNot_1_Vis = True, $iBegin = 0
_Notify_RegMsg()
_Notify_Locate(1)
_Notify_Set(0, 0xFFFFFF, 0x7A00F2, 'Arial', True, Default)
$hNot_1 = _Notify_Show(0, '', 'GANIBAL95 (G:)' & @CRLF & 'Возникла проблема с этим диском')
While 1
Sleep(10)
If Not WinExists($hNot_1) And $fNot_1_Vis = True Then
$iBegin = TimerInit()
$fNot_1_Vis = False
EndIf
WEnd
Func On_Exit()
Exit
EndFunc