Jump to content

Recommended Posts

Posted

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.

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
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
Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...