bartekd 0 Posted December 1, 2010 Hello All, Is there a way to have a icon be built into the code in autoit, so that everytime I compile that code it changes the icon based on what is in the script. Here is my situation. I have multiple scripts, all with different icons. When I want to change the icon for a script, I have use autoittoexe. but every script I compile after this, will use that icon (unless I go back into autoittoexe and change it to something else). What I want is to be able to put a code in each script, and it points to the ICON I want to use. Is this possible? Thanks for your help in advance. Share this post Link to post Share on other sites
DarkAngel 0 Posted December 1, 2010 #AutoIt3Wrapper_icon=youricon.ico Share this post Link to post Share on other sites
bartekd 0 Posted December 1, 2010 When i try that, it still makes the exe have an ICON for what I had set in autoittoexe. I am compiling it with scite Share this post Link to post Share on other sites
trancexx 1,013 Posted December 1, 2010 But do you have full SciTE? ♡♡♡ . eMyvnE Share this post Link to post Share on other sites
Zedna 278 Posted December 1, 2010 When i try that, it still makes the exe have an ICON for what I had set in autoittoexe. I am compiling it with sciteYou must compile it from FULL Scite4Autoit3 by F7. Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
bartekd 0 Posted December 1, 2010 I tried the full compile, using F7, didn't work. I tried the full path, and the same path where the file is located, both didn't work. #AutoIt3Wrapper_icon=icon.ico And I tried #AutoIt3Wrapper_icon=C:\icons\icon.ico Share this post Link to post Share on other sites
ProgAndy 88 Posted December 1, 2010 (edited) The #AutoIt3Wrapper_-directives require the AutoIt3Wrapper which is included in Scite4Autoit. This package is distributed separately from AutoIt, so you have to install it if you have not down it yet. http://www.autoitscript.com/autoit3/scite/ Edited December 1, 2010 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Share this post Link to post Share on other sites
bartekd 0 Posted December 2, 2010 NIce, I think that may have been it. I probably have an old version of SCITE4autoit Thanks for your help. Anyone know where to get some good icons? Share this post Link to post Share on other sites
DarkAngel 0 Posted December 2, 2010 NIce, I think that may have been it. I probably have an old version of SCITE4autoitThanks for your help.Anyone know where to get some good icons? try this Share this post Link to post Share on other sites
bartekd 0 Posted December 2, 2010 Nice thanks All. Can't believe it was so simple. Share this post Link to post Share on other sites