Sign in to follow this  
Followers 0
ARIrish

How do I lose the systray icon?

6 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by weaponx

Share this post


Link to post
Share on other sites

#3 ·  Posted (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

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?

Edited by thehyraxlord

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

Use #NoTrayIcon in your script, and the icon will not appear at all.

That's even better! Thanks!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0