I am trying to click the up arrow on a spin control that is a WinObject. My code is as follows:

WinObject("spnControlObject").Click 4,4

The only way I can get this to work is if I put it in a "for" or "while" loop where it is executed multiple times. It seems to work randomly, in a for loop that executes 25 times, it might register a click 10 times or 7 times.

Any help would be greatly appreciated.