There is nice tutorial for Winspector Find WM_COMMAND parameter with Winspector http://www.autohotkey.com/forum/topic40112.html