no there isn't at this point, but different return values could easily be added if the wait succedes or not...
until i have a chance to change it u can quickly change:
Code:
_Notify_Wait_:
;Critical
If (Image)
{
Gui %Image%:+LastFound
If NotifyGuiID := WinExist()
{
WinWaitClose, , , % Abs(Duration)
If (ErrorLevel && Duration < 1)
{
Gui, % Image + GL - GF + 1 ":Destroy"
DllCall("AnimateWindow","UInt",NotifyGuiID,"Int",ST,"UInt", "0x00050001")
Gui, %Image%:Destroy
Return 1 ;successfully closed
}
}
Return 0 ;unsuccessful
}
Else
{
Notify("No Notification specified to wait for!","waiting for all notifications is not yet implemented",10,"IN=8",A_WinDir "\explorer.exe")
Return 0
}
or something to that effect... then use:
Code:
If !Notify("","",0,"Wait",NotifyID)
MsgBox, Error!