Jump to content

Changing AutoIT script tray icon


Recommended Posts

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.

Link to post
Share on other sites

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

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

    No registered users viewing this page.

×
×
  • Create New...