Jump to content
Sign in to follow this  
lolp1

How to change the Icon of a .au3 program

Recommended Posts

lolp1

I wan't to change the Icon of the compiled version of my .au3 program (In the bottem right corner, and the desktop icon)

Share this post


Link to post
Share on other sites
Skruge

Welcome to the forums!

You can specify an icon using Aut2EXE or the compile feature in SciTE4AutoIt. (Ctrl+F7).

If you ran the AutoIt Installer, the Start menu shortcut is called "Compile Script to exe"


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites
lolp1

Ermm, sorry to say I don't under stand the part you said, I don't get what that has to do with changeing the icons:D

Share this post


Link to post
Share on other sites
Skruge

Look here for an overview of the compilation process, including how to set an icon: http://www.autoitscript.com/autoit3/docs/intro/compiler.htm

If you want to change the tray/gui icon at runtime, you'll need the latest beta for the TraySetIcon function.


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites
lolp1

Thanks - you gave me just what I was looking for, always good help here!

Share this post


Link to post
Share on other sites
Zedna

Or add this line as first line of your AU3 script:

#Compiler_Icon=name_of_your.ico

and when you compile it from Scite it setup icon for you

Note: ico file must be in directory where is au3 script when you are compiling it

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.