Reports whether a file or folder is read-only, hidden, etc.
Le site communautaire
Bootstrap tutorial. Useful
; the number of the tray icon that you need to click, followed by a space and then the filename containing the icon :
iconstr = 3 C:\Program Files\Winamp\Plugins\gen_delete.dll
;replace this with your filename. I used beardboys Icon Browser - http://www.autohotkey.com/forum/viewtopic.php?t=5587&highlight=iconviewer - to find the icon inside the dll
coordmode, mouse, screen
MouseGetPos, mouseX, mouseY
coordmode, pixel, screen
WinGetPos, trayX, trayY, trayWidth, trayHeight, ahk_class Shell_TrayWnd
ImageSearch, imageX, imageY, trayX, trayY, trayX+trayWidth, trayY+trayHeight, *Icon%iconstr%
MouseMove,%imageX%,%imageY%,0
MouseClick,left,%imageX%,%imageY%,1,0
MouseMove,%mouseX%,%mouseY%,0
Return