Sign in to follow this  
Followers 0
hankallan

How Change Icon In Taskbar - Not Tray !

6 posts in this topic

I've read the forums and help till I'm blurry eyed but cant seem to find how to change the icon of an compiled script whose button on the Taskbar shows the AutoIt icon. I want to change the taskbar icon to my own icon. As an example script I'm using the message box popup.

thanks in advance

Share this post


Link to post
Share on other sites



I've read the forums and help till I'm blurry eyed but cant seem to find how to change the icon of an compiled script whose button on the Taskbar shows the AutoIt icon. I want to change the taskbar icon to my own icon. As an example script I'm using the message box popup.

thanks in advance

If you are using CompileAU3 that comes with SciTE it is an option to select your own. I am not sure how that works with the AUT2EXE, but some how it does it.

I recommend downloading SciTE from here. SciTE4AutoIt3

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

If you follow JSThePatriot's instructions then runt the compile dEXE, you should see the icon in the taskbar. Note that the icon on the message box itsself will remain generic unless you substitue the MsgBox with your own GuiCreate....

HOWEVER, if I compiled with one icon then reompiled with a different icon, I get the old icon in the taskbar and the new icon in the tray?!?

WinXP Pro sp2, 3.1.1.87 beta, I think; newest SciTe4Autoit.... [screenshot attached]


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

If you follow JSThePatriot's instructions then runt the compile dEXE, you should see the icon in the taskbar. Note that the icon on the message box itsself will remain generic unless you substitue the MsgBox with your own GuiCreate....

HOWEVER, if I compiled with one icon then reompiled with a different icon, I get the old icon in the taskbar and the new icon in the tray?!?

WinXP Pro sp2, 3.1.1.87 beta, I think; newest SciTe4Autoit.... [screenshot attached]

For me it updated fine after changing the ICON....

EDIT: Correction... it does show this behaviour with just a MSGBOX... works fine with GUI...

EDIT2: This issue clears after a reboot so probably the ICON is cached somewhere ...

Edited by JdeB

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

Hey that worked !

(Using compile from the menu in Scite)

Thanks all. B)

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

HOWEVER, if I compiled with one icon then reompiled with a different icon, I get the old icon in the taskbar and the new icon in the tray?!?

WinXP Pro sp2, 3.1.1.87 beta, I think; newest SciTe4Autoit.... [screenshot attached]

I ran into this problem myself a little while ago. Windows keeps a cache of icons that it associates with executable filenames, and it really likes to use the ones in the cache even if the contents of the program have changed. The good news is that the filename is the only thing it associates with the icon, so if you rename your compiled EXE, you should notice the icon update properly. As JdeB pointed out, the issue will sometimes be fixed after you reboot, and there are a number of programs out there that will force Windows to rebuild the cache without restarting. I just happened to notice that a program I already had, RegSeeker, had this functionality (though it annoyingly scrambles the positions of your desktop icons as well).

If you follow JSThePatriot's instructions then runt the compile dEXE, you should see the icon in the taskbar. Note that the icon on the message box itsself will remain generic unless you substitue the MsgBox with your own GuiCreate....

Message boxes spawned by the compiled script should also have the icon that was given to the executable. I don't remember if I ever ran across a msgbox style that negated this functionality, but there might be one. Edited by Sokko

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