Jump to content

How to change autoit tray icon, TraySetIcon not working?


kosamja
 Share

Recommended Posts

First extract all six icons within the RES file to six different (even different sized) PNG files; you may need to convert the extracted files to PNG. Then use something like GIMP to combine all six into one ICO file. I do this with nearly all the icons I use with AutoIt. Typically, there are five PNG files that are sizes 128x128, 64x64, 48x48, 32x32 and 16x16. Sometimes there is a sixth PNG file that is 256x256. I then layer all the PNG files from largest to smallest and create the ICO file.

When you compile the AU3 file use the #AutoIt3Wrapper_Icon to point to the ICO file created. Then Windows will use the appropriate sized icon for display.

Who lied and told you life would EVER be fair?

Link to comment
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
 Share

  • Recently Browsing   0 members

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