Hey berban, the method worked perfectly! Just a small bug in the code tho, when the WinTitle is passed in, the script also attaches a ahk_id along with it,

so
ControlClick, x922 y513, ahk_id Girls, , Left, , NA
is being ran instead of
ControlClick, x922 y513, Girls, , Left, , NA
This also happends when you use a Unique ID in the 'r' parameter

Hey berban, the method worked perfectly! Just a small bug in the code tho, when the WinTitle is passed in, the script also attaches a
ahk_idalong with it,so
ControlClick, x922 y513, ahk_id Girls, , Left, , NAis being ran instead of
ControlClick, x922 y513, Girls, , Left, , NAThis also happends when you use a Unique ID in the 'r' parameter