Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

AU3 Software Automation installation tutorial

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

I.

1, experimental environment software a win7 system host

2, Win7 host installed AU3 program editing software name is (autoit3)

3. Preparation (QQ software, new folder, new AU3 script file)-QQ software and new AU3 script file are stored in the new folder;

-------------------------------------------------------------------------------------------

Second, the use of source code sharing

1, QQ automatic installation source code

RUN("QQ8.6.exe")

#RUN command runs QQ software program with directory #

WinWait("Tencent QQ Installation Wizard","Software License Agreement and Youth Internet Safety Guide")

#WinWait determines if the specified form is active #

WinActivate("Tencent QQ Installation Wizard","Software License Agreement and Youth Internet Safety Guide")

#WinWaitActive(Form Title, Form Text)--Wait for the specified form to appear #

ControlClick("Tencent QQ Installation Wizard,""Software License Agreement and Youth Internet Safety Guide,""Button2")

#ControlClick Send mouse click command to specified control "Title","Text", Control ID Note: This program requires AU3 window information using tools #

ControlClick("Tencent QQ Installation Wizard,""Software License Agreement and Youth Internet Safety Guide,""Button9")

ControlClick("Tencent QQ Installation Wizard,""Software License Agreement and Youth Internet Safety Guide,""Button10")

ControlClick("Tencent QQ Installation Wizard,""Software License Agreement and Youth Internet Safety Guide,""Button3")

WinWait("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration")

WinActivate("Tencent QQ Installation Wizard","Use PC Housekeeper Jinshan Suite to enjoy double QQ level acceleration")

ControlClick("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration","Button1")

ControlClick("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration","Button2")

ControlClick("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration","Button3")

ControlClick("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration","Button4")

ControlClick("Tencent QQ Installation Wizard","Use PC Manager Jinshan Suite, Enjoy Double QQ Level Acceleration","Button8")

Exit #End Symbol #

-------------------------------------------------------------------------------------------

2, Softdisk automatic installation source code

Run("RDT.exe") #Run programs from the same folder #

WinActivate("Installation Wizard- UltraISO","Welcome to UltraISO Installation Wizard")

#WinWaitActive(Form Title, Form Text)--Wait for the specified form to appear #

Send("{enter}")

#Send parameter indicates send shortcut key Enter (next step)#

WinActivate("Installation Wizard- UltraISO","License Agreement")(Note: This parameter is not explained below)

Send("! a")

#Send parameter indicates send shortcut alt+a key combination #

Send("{enter}")

WinActivate(Installation Wizard- UltraISO, Select Installation Location)

Send("{enter}")

WinActivate("Installation Wizard- UltraISO,""Select Start Menu Folder")

Send("{enter}")

WinActivate(Installation Wizard- UltraISO, Select Additional Tasks)

Send("{enter}")

WinActivate(Installation Wizard- UltraISO, Installation Ready)

Send("{enter}")

WinActivate("Installation Wizard- UltraISO","Click End" to exit the installation. ")

Send("SPACE")

#Send parameter means send "shortcut spacebar"#

Send("{enter}")

Exit #End Symbol #

-------------------------------------------------------------------------------------------

III. After editing the program, verify that the source code is compiled and converted into an.EXE executable file:

Note: I am only a novice, today's learning, follow-up accumulation, please teach the gods!!!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report