Hi, this is my code: Run('calc') Local $hWnd = WinWaitActive("[Class:CalcFrame]", '', 3) ; I also tried WinWaitActive("[Class:Calculator]", '', 3) Local $xOne = 1215 ; x position of number one button Local $yOne = 526 ; y position of number one button Local $xPlus =1332 ; x position of addition button Local $yPlus =560 ; y position of addition button Local $xTwo = 1257; x position of number one button Local $yTwo = 524 ; y position of number one