GraaF1337 Posted June 1, 2014 Share Posted June 1, 2014 (edited) I understand that you need tray icon inorder to use traytip. But can you do a tray tip and then hide/remove the tray icon? Or can you actually do tray tip with no tray icon? Because i can't do it. I know this is kinda a long shot, but i guess it's worth trying. What i have tried so far: #include <MsgBoxConstants.au3> #include <TrayConstants.au3> TrayTip("Tray Test", "Tray Tip.", 5) Sleep(5000) #NoTrayIcon MsgBox($MB_SYSTEMMODAL, "Tray Test", "Tray Icon is now gone.") Edited June 1, 2014 by GraaF1337 Link to comment Share on other sites More sharing options...
somdcomputerguy Posted June 2, 2014 Share Posted June 2, 2014 This is a quote from the TrayTip page of the Help file. A Tray tip will close if the AutoIt tray icon disappears. Consequently, the TrayTip may not appear if AutoItSetOption("TrayIconHide", 1) is set or if the user has disabled balloon tips via registry settings! See (and/or try) the example code on that page. That code does not set a specific tray icon. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
GraaF1337 Posted June 2, 2014 Author Share Posted June 2, 2014 This is a quote from the TrayTip page of the Help file. See (and/or try) the example code on that page. That code does not set a specific tray icon. Wow thank you i can't believe i missed that! This just works perfect! And just as i hoped! Thank you so much! #include <MsgBoxConstants.au3> #include <TrayConstants.au3> TraySetState ($TRAY_ICONSTATE_SHOW) TrayTip("Tray Test", "Tray Tip.", 5) Sleep(5000) TraySetState ($TRAY_ICONSTATE_HIDE) MsgBox($MB_SYSTEMMODAL, "Tray Test", "Tray Icon is now gone.") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now