boyemillar Posted July 25, 2007 Share Posted July 25, 2007 Is there anyway with AutoIt to display an icon in the systray and have something popup when clicked with the system details ie IP address, computer name, current Domain and maybe a few other details... Link to comment Share on other sites More sharing options...
GEOSoft Posted July 25, 2007 Share Posted July 25, 2007 Is there anyway with AutoIt to display an icon in the systray and have something popup when clicked with the system details ie IP address, computer name, current Domain and maybe a few other details...As long as you have those values then yes.See the help file>Tray Functions for TrayCreateItem George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
DW1 Posted July 25, 2007 Share Posted July 25, 2007 modified from the help file: #Include <Constants.au3> #NoTrayIcon Opt("TrayMenuMode",1) $settingsitem = TrayCreateMenu("PC Name/IP/Domain") $pcnameitem = TrayCreateItem(@ComputerName, $settingsitem) $ipitem = TrayCreateItem(@IPAddress1, $settingsitem) $domainitem = TrayCreateItem(@LogonDomain, $settingsitem) TrayCreateItem("") $aboutitem = TrayCreateItem("About") TrayCreateItem("") $exititem = TrayCreateItem("Exit") TraySetState() While 1 $msg = TrayGetMsg() Select Case $msg = 0 ContinueLoop Case $msg = $aboutitem Msgbox(64,"about:","AutoIt3-Tray-sample") Case $msg = $exititem ExitLoop EndSelect WEnd Exit AutoIt3 Online Help Link to comment Share on other sites More sharing options...
boyemillar Posted July 26, 2007 Author Share Posted July 26, 2007 (edited) Cheerz for that danwilli is there any way to get it to auto popup on mouseover with those details.And for the tooltip to not have file extension appear Edited July 26, 2007 by boyemillar Link to comment Share on other sites More sharing options...
GEOSoft Posted July 26, 2007 Share Posted July 26, 2007 Cheerz for that danwilli is there any way to get it to auto popup on mouseover with those details.And for the tooltip to not have file extension appearYou could just addTraytip(@ComputerName & @CRLF & @IPAddress1 & @CRLF & @LogonDomain, 15, 1) George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" 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