ARIrish Posted September 20, 2007 Share Posted September 20, 2007 I have a script that I want running in the background all the time, as if it's simply part of the normal interface. As such, I don't want there to be a systray icon for it. How can I get rid of this, either through options or scripting? Thanks. Link to comment Share on other sites More sharing options...
weaponx Posted September 20, 2007 Share Posted September 20, 2007 (edited) TrayIconHide <a href="http://" target="_blank"></a>Hides the AutoIt tray icon. Note: The icon will still initially appear ~750 milliseconds. 0 = show icon (default) 1 = hide icon Opt("TrayIconHide", 0) ;0=show, 1=hide tray icon Edited September 20, 2007 by weaponx Link to comment Share on other sites More sharing options...
ARIrish Posted September 20, 2007 Author Share Posted September 20, 2007 (edited) TrayIconHide <a href="http://" target="_blank"></a>Hides the AutoIt tray icon. Note: The icon will still initially appear ~750 milliseconds.0 = show icon (default)1 = hide iconOpt("TrayIconHide", 0) ;0=show, 1=hide tray iconOkay, so I guess I need a little more help.Opt("TrayHideIcon", 1) gives me the following error:ERROR: Opt() called with illegal argument 1: "TrayHideIcon"Opt("TrayHideIcon", True)~~~~~~~~~~~~~~~~~~~~~~~~^I put it as the first line of my code. Any thoughts? Edited September 20, 2007 by thehyraxlord Link to comment Share on other sites More sharing options...
ARIrish Posted September 20, 2007 Author Share Posted September 20, 2007 Okay, so I guess I need a little more help.Opt("TrayHideIcon", 1) gives me the following error:ERROR: Opt() called with illegal argument 1: "TrayHideIcon"Opt("TrayHideIcon", True)~~~~~~~~~~~~~~~~~~~~~~~~^I put it as the first line of my code. Any thoughts?Okay I'm a total idiot. I see what I've done wrong.Thanks again Link to comment Share on other sites More sharing options...
jvanegmond Posted September 20, 2007 Share Posted September 20, 2007 Use #NoTrayIcon in your script, and the icon will not appear at all. github.com/jvanegmond Link to comment Share on other sites More sharing options...
ARIrish Posted September 20, 2007 Author Share Posted September 20, 2007 Use #NoTrayIcon in your script, and the icon will not appear at all.That's even better! Thanks! 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