SoyArcano

How to change a icon

7 posts in this topic

#1 ·  Posted (edited)

sometimes i want to customize my icons of my autoit program's but i must to include using aut2exe. Doesnt exist some way to do using only code to change the icon or  i must to make changes in the format of file? thx!

Edited by SoyArcano

Share this post


Link to post
Share on other sites



#2 ·  Posted

Which icon are you referring to?
Have you checked out TraySetIcon() or the example in the SciTE4AutoIt3 helpfile for #AutoIt3Wrapper_Res_Icon_Add: 
"Adding extra icons to the program resources " ?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted

i think using this #AutoIt3Wrapper_Icon=path will change but i was trying to use GUISeticon too so i can put using button and input in the script.

Share this post


Link to post
Share on other sites

#4 ·  Posted

I used #AutoIt3Wrapper_Icon=C:\Users\Androide\Desktop\Desktop\icono.ico

Didnt work.

Share this post


Link to post
Share on other sites

#5 ·  Posted

In Scite:

  • Click Tools » Compile
  • Select Browse for icon:
  • Click: Compile Script

Your compiled script should now have the new icon or as Jos mentioned are you talking about icons on controls?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

21 hours ago, SoyArcano said:

I used #AutoIt3Wrapper_Icon=C:\Users\Androide\Desktop\Desktop\icono.ico

Didnt work.

"Didn't work" is NOT enough information. Show me the SciTE console output generated when you do the compile so I can see what is happening.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#7 ·  Posted

Here an example how to use an image as GUI icon even with little animation:

 


Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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