Sign in to follow this  
Followers 0
bartekd

ICON for every Script

10 posts in this topic

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



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

But do you have full SciTE?


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

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

#7 ·  Posted (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 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

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? :graduated:

Share this post


Link to post
Share on other sites

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? :(

try this :graduated:

Share this post


Link to post
Share on other sites

Nice thanks All. Can't believe it was so simple. :graduated:

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0