Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Open Calculator
- Run("calc.exe")
- WinWaitActive("Calculator")
- ; Add a brief delay (adjust as needed)
- Sleep(1000)
- ; Send the calculation command
- Send("2*4=")
- ; Wait for the result to appear (adjust the sleep time as needed)
- Sleep(2000)
- ; Close Calculator
- WinClose("Calculator")
- //b.Div
- Send("32/2=")
- //c.Add
- Send("2")
- Sleep(500)
- Send("{+}")
- Sleep(500)
- Send("5")
- Sleep(500)
- Send("=")
- //d.Sub
- Send("8"-"4=")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement