• add script_icon.ahk to your user library
• download one of the following icons sets
grey key icons (click "download" on the top right and select "direct download")
green icons
• add the folder path to the [icon folders] section at the top of the script_icon.ahk script
• put the following in the auto-execute section of your scripts or your 'new script' template
Code: Select all
menu, tray, icon, % script_icon()
![Image](https://cloud.githubusercontent.com/assets/23744254/23628583/a16eaada-02ac-11e7-8a27-d1d1d1cc5153.png)
![Image](https://cloud.githubusercontent.com/assets/23744254/23628588/a52e6746-02ac-11e7-84fb-92e7d452978c.png)
script_icon.ak can also be used to check for icons that are in the script directory similar to the way the local library will include functions that are in %a_scriptDir%\Lib\
- if there is an icon in the root of the %a_scriptDir% that matches the script name then that will be used
- otherwise it looks for an icon in %a_scriptDir%\icons\ or %a_scriptDir%\icon\
- if nothing is found there it searches through your icon folder for a match or for an icon matching the first letter
- if nothing is found at all then the default H icon will be returned