HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Autoit Tutorials Part 16 Calculator Automation Project

6,751 views November 15, 2016 7:43

Watch on YouTube
ChannelAmarindaz

Description from the creator

Support Amarindaz on Patreon: goo.gl/it9Gpk --~--
Reference Book- Autoit scripting for beginners
amarindaz.com/go/autoit-book/

Blog: amarindaz.com/
Facebook page: facebook.com/amarindaz

Title: Autoit Tutorials Part 16 Calculator Automation Project

In this video you'll learn how to automate window calculator using autoit script.

Project Requirements:

1) Launch the calculator Application
2) Verify the calculator is launched
3) Press the button 5
4) Press the button +
5) Press the button 6
6) Press the button =
7) Close the calculator application

Source Code:

;Launch calc
Run("Calc.exe","")
;Wait for 2 seconds
Sleep(2000)

;Check the calculator is launched or not
If WinExists("Calculator","") Then
;Press button 5
ControlClick("Calculator","",135)
Sleep(2000)
;Press button +
ControlClick("Calculator","",93)
Sleep(2000)
;Press button 6
ControlClick("Calculator","",136)
Sleep(2000)
;Press button =
ControlClick("Calculator","",121)
Sleep(2000)
;Close calc
WinClose("Calculator","")

EndIf
`

💼 To Hire Me 👉 fwd.cx/WLGgpTiZW5HK

Checkout my app 👉 myfreshtools.com

About this tutorial

Amarindaz published this 7:43 video tutorial on November 15, 2016. It has been watched 6,751 times on YouTube.

Channel
Amarindaz
Category
Education
Duration
7:43
Published
November 15, 2016
Views
6,751
Likes
41

Tags

Share

This tutorial in other languages