Jump to content

Recommended Posts

Posted

Dear People,

Can I change the standard AutoIT exe icon in the system tray?

TraySetIcon - looks to be the candidate but on looking at the code (in help files) I can't see how you index any process/application to this command.

?

Posted

Sure.

Run any autoit.au3, autoit.exe file and you get the grey round button with a white triangle in the system tray (icons showing what is running). I simply want to change this icon to one of my own.

I looked through several topics on this in this forum and none make any sense to me.

Posted

An example from one of my scripts

$icon = @HomeDrive & "\RegBackup\chimaera.ico"
TraySetIcon($icon)

And if you want the compiled file to use it as well

#AutoIt3Wrapper_Icon=compile_files\chimaera.ico

Bear in mind you wont see the tray one until you compile and run the exe

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