Hi all i have a big issue with TrayTip:
The code:
I see the traytip before many second ( 4-5 sec ) instead of 100ms. The problem is with "Show Desktop", if i remove it i see the traytip
I have try with object instead of send
And WinMinimizeAll(), is the same
If i use a MsgBox work fine, if i use a MsgBox before the traytip i see the traytip instantly
How i can resolve this?
The code:
[ autoit ]
#NoTrayIcon Opt("TrayMenuMode", 1) ; Default tray menu items (Script Paused/Exit) will not be shown. Local $settingsitem = TrayCreateMenu("Settings") TrayCreateItem("Display", $settingsitem) TrayCreateItem("Printer", $settingsitem) TrayCreateItem("") Local $aboutitem = TrayCreateItem("About") TrayCreateItem("") Local $exititem = TrayCreateItem("Exit") TraySetState() While 1 Local $msg = TrayGetMsg() Select Case $msg = 0 ContinueLoop Case $msg = $aboutitem TEST() TrayTip("TEST MESSAGE", "TEST MESSAGE", 1) Case $msg = $exititem ExitLoop EndSelect WEnd Func TEST() send("#d") Sleep(100) ConsoleWrite("END") EndFunc ;==>TEST
I see the traytip before many second ( 4-5 sec ) instead of 100ms. The problem is with "Show Desktop", if i remove it i see the traytip
I have try with object instead of send
[ autoit ]
And WinMinimizeAll(), is the same
If i use a MsgBox work fine, if i use a MsgBox before the traytip i see the traytip instantly
How i can resolve this?