Just an update to say that "run" commands (controlling foobar from the commandline) seem to work much better than the "send" shortcut commands (there's a topic about that : http://www.hydrogenaudio.org/forums/index....t=0#entry644197 ), so I have integrated them in a new AutoHotKey script. The new commands simply call the "View > Dockable Panels > Activate > Panelnumber - Panelname" and "View Dockable Panels > Collapse > Panelname" menu commands. The final result is simpler and more effective than before.
The previous second tab becomes as follows :
$F2::; SECOND TAB
WinActivate ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
Run C:\Program Files\foobar2000\foobar2000.exe "/command:Peakmeter SMALL" "/command:Spectrum LEFT" "/command:Peakmeter BIG" "/command:Spectrum RIGHT" "/command:Chronflow" "/command:2 - Lyric Show" "/command:5 - Biography"
MouseGetPos, Xpos, Ypos
click 99, 70
MouseMove %Xpos%, %Ypos%, 0
WinActivate ahk_class {97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}
return
Besides, no need for all the CTRL-g, ALT-g, CTRL-h, ALT-h, CTRL-j, ALT-j, CTRL-k, ALT-k, CTRL-l, ALT-l, CTRL-m and ALT-m shortcuts anymore. Only F1-F4 remain of course.