

Gui,2:add,text,x20 y40 w100 cYellow,IP-ADDRESS show IP-ADDRESS urldownloadtovarx iconx ipaddressx -Īdr:= UrlDownloadToVar( URL ) - desactivate this when no internetconnection Double check your I_Icon file path if you default to the AHK 'H'.Įdited by KraZe_EyE, 25 March 2015 - 05:17 PM.Ī small gui example, shows changed icon ( label iconx ) I have run into a letter, I forget which, that didn't have a certain color, in this case the script will again default to AHK's H icon(all letters have all the colors).
#Change winrar icon download#
Download an icon pack with your desired icon and follow the above instructions to use that. You just have to know which number is the icon you want to use!).
#Change winrar icon windows#
Note: Windows default icons are not necessarily accessible for this purpose(search the help file for 'icon' and read the section relating to A_IconNumber / A_IconFile. As long as your file path is correct (and the filename is as well) you can use any. I would recommend creating a 'Misc Icons' folder within the AHK directory or within the 'Letter Icon' folder. If you find you want more unique icons such as shapes or ones you create yourself the process is the same.
#Change winrar icon code#
IF you do not want the icon to change from the default H that AHK uses, you either don't use this code OR just leave the I_Icon file path blank and it will default to the AHK 'H' icon. The colors are explained in the comments written above, notice the light/dark green icon files are filenamed as 'lg' and 'dg' respectively. The only thing that will need to be changed is the letter K to your desired letter and the grey.ico into the color you want.

So I_Icon = is the file path we use to select the letter and then color.icoĪssuming you have installed AHK into the default directory AND created a 'Letter Icons' folder the above file path will work as is. Menu, Tray, Icon, %I_Icon% Changes menu tray icon ICON Changes a compiled script's icon (.exe) I_Icon = C:\Program Files\AutoHotkey\Letter Icons\K\grey.ico File Directory\*LETTER DESIRED*\COLOR.ico COLOR LISTING FILENAMES: BLACK, BLUE, GOLD, GREY, ORANGE, PINK, RED, VIOLET, LIGHTGREEN=lg, DARKGREEN=dg Provide the filepath/name below (leave blank to have it default to the usual 'H' all AHK scripts have). If you wish to have a different icon for this script to distinguish it from other scripts in the tray. Please note that this icon pack is not available for commercial use! Write up by KraZe_EyE Inspired by code seen in DirMenu.ahk (highly recommended)

Also now changes the icon of a compiled script (.exe) iconx: Change the tray icon displayed for each of your scripts so you can keep track of which is which.
