Errol Posted December 11, 2009 Share Posted December 11, 2009 (edited) Allo! I would like my exe to change its own icon after it has been compiled. The executable runs a tutorial based on an XML file. The XML file changes, but the exe itself is exactly the same. However, I would like to have different icons for the tutorial. Right now, I just recompile the script for every tutorial I have (I think there are about 20 of them) but it would be handy if the exe can just see the ico file in it's directory and change it's own icon accordingly. Thank you very much! Edited December 28, 2009 by Errol Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 11, 2009 Share Posted December 11, 2009 What icon do you mean? The one shown in the windows explorer? The one shown in your gui? The one in the tray? Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Errol Posted December 11, 2009 Author Share Posted December 11, 2009 What icon do you mean? The one shown in the windows explorer? The one shown in your gui? The one in the tray?Ah... sorry about that.Not an icon on the gui, nor an icon on the tray. The icon shown on windows explorer. Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 11, 2009 Share Posted December 11, 2009 Puh , extracting the icon should be possible but changing the icon ? I don't know - sorry! http://www.autoitscript.com/forum/index.php?showtopic=85618 Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Errol Posted December 11, 2009 Author Share Posted December 11, 2009 Puh , extracting the icon should be possible but changing the icon ? I don't know - sorry! No problem. I was hoping it was possible and my search abilities were just wanting. Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 11, 2009 Share Posted December 11, 2009 Why not using a workaround? You could rename your script or recompile it with the new icon (that will be dirty) Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Errol Posted December 11, 2009 Author Share Posted December 11, 2009 Why not using a workaround? You could rename your script or recompile it with the new icon (that will be dirty)Oh, I do that now. Problem is, I have about 20 exe's that I need to recompile. So every time I do a version change, that's another 20 that I need to do. 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