Sign in to follow this  
Followers 0
roofninja

change default icon

9 posts in this topic

I previous versions of autoit, I have been able to set my own icon when I compile a program. Now I can't. What I did use isn't working. Is there an ini file or some place I can change it?


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites



Do you not get 'Compile with options' if you right click on the .au3 file?


[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Share this post


Link to post
Share on other sites

Use directive

#AutoIt3Wrapper_Icon=                          ;Filename of the Ico file to use


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Are you using the latest SciTE?

Also, work around: Use a resource editor.


My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

MY PROJECTS


Active: IRC UDF, WindowEx UDF
Discontinued: GithubBubbleSort UDF

Share this post


Link to post
Share on other sites

yes. I had a full install over the summer and I just checked the version and it is 3.3.6.1.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

You must download/install full Scite4Autoit3.

Also you must compile script from full Scite by F7.

#AutoIt3Wrapper_Icon=your_icon.ico

Also your_icon.ico must be in script directory at compile time.

Also check internal structure of your ICO file. It can be corrupted or BMP with ICO extension.

After compilation check your output EXE file by ResHacker to see what icons are inside EXE.

Also check Scite output panel if there is some error message during compilation.

Edited by Zedna

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Hello,

To change the exe file icon : execute Aut2Exe.exe, add your script and the exe destination, use the option "Custom icon" to choose your icon file and compile your script.

To display your icon next text window, use : GUISetIcon(" your icon.ico")

To display your icon on tray, use : TraySetIcon("your icon.ico")

Edited by ZOTHOP

Share this post


Link to post
Share on other sites

You must download/install full Scite4Autoit3.

Also you must compile script from full Scite by F7.

That was it. I did the standard download over the summer and didn't update the editor.

Thanks.


RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

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