Code: Select all
Click 300,575
Code: Select all
PsX := GPwidth // 2 ; middle from left
PsY := ( GPheight - 17) ; from bottom
Click %PsX%, %PsY%
FileAppend, %A_YYYY%-%A_MM%-%A_DD% -------------- Click X:%PsX% Y:%PsY%`n, C:\data\ahk-log.txt
I also tried it this way:
Code: Select all
PsX := GPwidth // 2 ; middle from left
PsY := ( GPheight - 17) ; from bottom
MouseMove PsX, PsY
Click
FileAppend, %A_YYYY%-%A_MM%-%A_DD% -------------- Click X:%PsX% Y:%PsY%`n, C:\data\ahk-log.txt
Still, the mouse does not move, and the click does not happen.
What did I miss?