automate windows os with autoit and others.

'auto hot key' is easier than autoit as read...

download auto it and SciTE Script Editor.

Basic use with notepad explained in bellow videos

then watch bellow videos

https://www.youtube.com/watch?v=f2EjgUeUHIg

https://www.youtube.com/watch?v=peC9a7qHEmA


download au3 record tool.

https://github.com/uday1kiran/MyBlog/blob/master/AutoIT%20Forum/Utilities/Au3Record.7z

Explained in the bellow Video.

https://www.youtube.com/watch?v=QtPYg8Et4XI




record using record tool until required mouse clicks


video to save file

https://www.youtube.com/watch?v=pf5LnP71k_M



then add the bellow commands to open or load files along with WinWaitAcivate()

to upload or load files first get window name and control ID from AutoIt Window Info.

ControlFocus("Please select project...","",1148) - to maintain or focus curson in the 

ControlSetText("Please select project...","",1148,"anna1.prj") - to give file. no need to give complete path

ControlClick("Please select project...","","Button1") - to click upload or open button

for any while loops to continue if window not active use While Not

Ex:-

While Not WinActive(''Window Name")

 Mouse Click()

Sleep

WEnd


to close window WInClose(''window name")











Comments

Popular posts from this blog