I have tried sending messages (ie from http://www.codeproject.com/KB/stl/Winam ... play=Print) to TFMainWindow but to no avail, either when active or in the systray.
However, I've been able to send commands to MM by using this ahk code (this will send ctrl-shft-down to the MM window - and will work if MM is in tray only mode), although this is a poor workaround (I would have to create code/hotkey combo for each action).
Any help would be appreciated.
Code: Select all
;AHK script to send ctrl-shft-down to the MM window
#NoTrayIcon
DetectHiddenWindows, On
IfWinExist, ahk_class TFMainWindow
{
ControlSend, ahk_parent, ^+{down}
;msgbox Exist
} else {
;msgbox NotExist
}