Code: Select all
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
^F2::
If WinExist("ahk_class #32770")
{
MouseMove 490, 90, 100 ;Mouse moves all ok first time script is run
WinActivate
ControlClick Button17 ;Click the "Log to file" button --> doesn't work
}
Else
{
;Blank for now
}
If WinExist("ahk_class MMCMainFrame")
{
MouseMove 100, 100, 100, R ;Mouse does not move at all
WinActivate
}
Else
{
;Blank for now
}
return