tk1 Posted December 18, 2013 Share Posted December 18, 2013 Hello, I know I saw somewhere instructions on using a custom icon when you compile your script, but the only one I can find right now is http://www.autoitscript.com/autoit3/docs/intro/compiler.htm (item #5). I've tried a simple search on the forums, in the documentation, and the help file, but I can't find it. I want to have a custom icon for my compiled script (.exe) that you see in Windows Explorer; when the program is running (upper left corner of the window); and on the taskbar. Would someone be so kind as to point me to the information on how to do this? When I try compiling in (full) SciTE, and telling it the icon I want, I get the following: an Aut2Exe Error pop-up that says "Error changing icon: Unable to read icon or icon was of the wrong format." and then it puts this into the top of my code: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Icon=..\..\..\..\..\SW\myLogo.ico #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Thanks, tk Link to comment Share on other sites More sharing options...
gruntydatsun Posted December 18, 2013 Share Posted December 18, 2013 Try to open the icon in IcoFx portable to see if the file is corrupt. If it opens, resave it with a new name. Link to comment Share on other sites More sharing options...
tk1 Posted December 19, 2013 Author Share Posted December 19, 2013 Thank you for the reply, gruntydatsun. It opened, so I did as you said and it looks like all it did was change the bit depth from 24 to 32. Now I can use that file, so do you think that was the problem, wrong bit depth? Thanks again, tk Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now