bartekd Posted December 1, 2010 Share 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. Link to comment Share on other sites More sharing options...
DarkAngel Posted December 1, 2010 Share Posted December 1, 2010 #AutoIt3Wrapper_icon=youricon.ico Link to comment Share on other sites More sharing options...
bartekd Posted December 1, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
trancexx Posted December 1, 2010 Share Posted December 1, 2010 But do you have full SciTE? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
Zedna Posted December 1, 2010 Share 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 Link to comment Share on other sites More sharing options...
bartekd Posted December 1, 2010 Author Share 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 Link to comment Share on other sites More sharing options...
ProgAndy Posted December 1, 2010 Share 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 Link to comment Share on other sites More sharing options...
bartekd Posted December 2, 2010 Author Share 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? Link to comment Share on other sites More sharing options...
DarkAngel Posted December 2, 2010 Share 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 Link to comment Share on other sites More sharing options...
bartekd Posted December 2, 2010 Author Share Posted December 2, 2010 Nice thanks All. Can't believe it was so simple. 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