MilesAhead Posted September 19, 2011 Posted September 19, 2011 I'm using 3.3.6.1 and I noticed that if I don't specify a custom icon when compiling, the compiler uses the last custom icon I compiled with. In other words, if I don't specify any icon, I do not get the AutoIt default icon. I get whatever was the last custom icon I specified. Seems to make no difference if I store settings in script or not. I know the work-around is specify a custom icon. But it's kind of annoying if I have a quick and dirty test script and compile it, it has the same icon as the exe from my last project. I don't understand where it's pulling the information from. My Freeware Page
MilesAhead Posted September 19, 2011 Author Posted September 19, 2011 For the time being I worked around it by including the autoit icon in the template.au3 file. Still seems a bit weird though. My Freeware Page
JohnOne Posted September 19, 2011 Posted September 19, 2011 I have never experienced this behaviour, nor read about it on the forum. If you have something like #AutoIt3Wrapper_Icon=theicon.ico at the top of your script, then its going to use that icon. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
trancexx Posted September 19, 2011 Posted September 19, 2011 Are you sure explorer isn't having caching issue? Maybe you only think the icon is the old one because explorer.exe is playing with you. Btw, your sig made me LOL. ♡♡♡ . eMyvnE
MilesAhead Posted September 19, 2011 Author Posted September 19, 2011 (edited) Are you sure explorer isn't having caching issue? Maybe you only think the icon is the old one because explorer.exe is playing with you. Btw, your sig made me LOL. Thank you. Glad you like Groucho. I don't remember exactly when this started happening. I'm familiar with icon cache and Windows7 issues. This isn't it. I have added default autoit icon to my template.au3 so the work-around is there. I'm just curious why such a weird thing is happening. If I make a new blank file and put in a MsgBox hello world, save as .au3. Compile with nothing filled in. No exe name, no icon name.. it will compile with the custom icon I used last. Really strange. Edit: you know what? I may have tried the beta for a few hours and taken it back off. I installed in a separate folder but it may be a side effect of that. If I reinstall AutoIt3 stable I wonder if it will mess up my SciTE settings? Edited September 19, 2011 by MilesAhead My Freeware Page
MilesAhead Posted September 19, 2011 Author Posted September 19, 2011 (edited) Hmmmmmmmm, that didn't work. Still got last custom icon. Really weird I must say! I compiled another app with different custom icon. Then I made a plane MsgBox app. It used a particular custom icon, but not the last one. For some reason this particular icon gets stuck in the craw of the compiler. What can I say? It's Windows! Edited September 19, 2011 by MilesAhead My Freeware Page
MilesAhead Posted September 19, 2011 Author Posted September 19, 2011 (edited) Ok. Mystery solved. I used the Aut2Exe Gui thingy directly for a compile. The custom icon was still in the input line. I should just pretend I don't know what happened but I think it's funny!! Oh well. User error!! Edited September 19, 2011 by MilesAhead My Freeware Page
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