A couple of things. CoordMode
should not be used (unless for some other reason) as it doesn't impact the positioning of a ControlClick
-- which is always relative to the WindowTitle
window you use.
Maybe set your SetTitleMatchMode
to 2
because you are not using the exact correct WindowTitle
text; and in addition, if your window is like a Citrix XenApp window, you may have to deal with another criteria for identifying the target window (see WinTitle
in help).
Also, you could try to identify and use the ClassNN
(the classname and instance number of the control) or the name/text of the control, both of which can be determined via Window Spy.
Lastly, did you try it without the Pos
at the end? That is used mainly when a control class conflicts with the x y position. You can also try it without any of the stuff after WindowTitle
as ControlClick, x636 y189, WindowTitle
(note the space) should work by itself if you use the correct window title or other criteria:
SetTitleMatchMode, 2
SetControlDelay -1
ControlClick, x636 y189, WindowTitle,,,, NA
or
SetTitleMatchMode, 2
SetControlDelay -1
ControlClick, x636 y189, WindowTitle