My recommendation would be to post your question in the original thread (the one you posted). This way the author of the code might respond (or someone who uses the script). They will probably be much more help than the rest of us.
However, from what I can tell, the number is the icon's group number (see the
ImageSearch command, the ImageFile parameter.
Code:
; 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
So, it looks like
beardboy's Icon Browser can be used to retrieve the icon number you need.
Hope that helps.
_________________
As always, if you have any further questions, don't hesitate to ask.
Add OOP to your scripts via the
Class Library. Check out
my scripts.