必威电竞|足球世界杯竞猜平台

autoit
來源:互聯網

AutoIt 目前最新是v3版本,這是一個使用類似BASIC腳本語言的免費軟件,它設計用于Windows GUI(圖形用戶界面)中進行自動化操作。它利用模擬鍵盤按鍵,鼠標移動和窗口/控件的組合來實現自動化任務。而這是其它語言不可能做到或無可靠方法實現的(例如VBScript和SendKeys)。

基本簡介

簡介

AutoIt最初是為PC(個人電腦)對數千臺PC進行配置的“批量處理”而設計,不過隨著v3版本的到來它也很適合用于家庭自動化和編寫用以完成重復性任務的腳本。

功能

運行Windows和Dos程序

模擬鍵擊動作(支持大多數鍵盤布局)

模擬鼠標移動和點擊動作

對窗口進行移動,調整大小和其它操作

直接與窗口的“控件“交互(設置/獲取文本,移動,關閉等等)

配合剪貼板進行剪切/粘貼文本操作

注冊表進行操作

不同于AutoIt v2版本,新的v3版本有更多標準語法-類似于VBScript和BASIC-而且支持更復雜的表達式,用戶函數,循環以及腳本編寫老手們所期待的其它所有內容。

正如以前版本一樣,AutoIt設計得盡可能的小(大約115KB)并且不用依賴外部DLL文件或添加注冊表項目即可獨立運行。此外使用 Aut2Exe 這個工具還可以把腳本文件編譯為獨立的可執行程序。

同時升級了ActiveX和DLL版本在AutoIt里稱為 AutoItX - 與v2版本不同的是它將是一個組合控件(COM組件對象模型和同一DLL文件中的標準DLL函數)。AutoItX 將允許您加入一些AutoIt獨有的特性到您最常用的腳本語言或程序設計語言中去!請查看這AutoItX幫助文件(開始 \ 程序\ AutoIt v3 \ Extras \ AutoItX \ AutoItX Help File)以獲得更多信息和示例。

最重要的是,AutoIt 將繼續是免費的 - 但是如果您打算支持我們花在此工程的時間,金錢以及所作努力和網站主機運作的話,那么您可以到AutoIt的主頁上進行捐贈。

官方介紹

AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting,It uses a combination of simulated keystrokes,mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (Evil Genius VBScript and SendKeys), AutoIt is also very small,self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" requi紅色!

AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs,Over time it has become a powerful language that supports complex expressions,user functions,loops and everything else that veteran scripters would expect.

Features:

Easy to learn BASIC-like SYNTAX

Simulate keystrokes and mouse movements

Manipulate windows and processes

Interact with all standard windows controls

Scripts can be compiled into standalone executables

Create Graphical User Interfaces (GUIs)

COM support

Regular expressions

Directly call external DLL and Windows API functions

Scriptable RunAs functions

Detailed helpfile and large community-based support forums

Compatible with Windows 95 / 98 / ME / NT4 / 2000 / XP / 2003 / Vista / 2008

Unicode and x64 support

Digitally signed for peace of mind

Works with Windows Vista's User Account Control (UAC)

發展簡史

誕生于1998 -c語言,應用于發送按鍵上

1999年1月-第一AutoIt版本( 1.0 )

1999年8月- AutoIt v2的和AutoItX

1999年9月-第一AutoIt版編譯

2002年12月- AutoIt v3的(公共測試版)

2004年2月- AutoIt v3的(穩定版本)

2006年9月- Auto3Lib函數庫開發

2007年11月- AutoIt v3.2.10.0 released,將Auto3Lib加入到AutoIt v3中

2008年5月- AutoIt v3.2.12.0 released,增加圖形用戶界面功能

2008年12月- AutoIt (和AutoItX ) v3.3.0.0發布

注意:在AutoIt (約第2版)開發的階段,開發者希望能加快發展AutoIt,基于GPL協議開放了源代碼。

但是不久有少數人為提高產品競爭力而不遵守非通用公共許可證,且不保留開發者的保留署名權。

AutoIt的開發者決定,為防止這種偷竊的帶來不必要的麻煩,于2006年8月,即3.2.0版本后停止發放源代碼。

使用簡介

優點

- 輕量級(官方發布包10M左右),編譯成可執行文件后在沒有安裝 AutoIt 的機器上也可直接運行

-免費,不需要許可證

- 有豐富的函數庫(標準函數庫和自定義函數庫)

- 基于Win32 API,方便擴展

- 有完善的幫助文檔和豐富的論壇資源

注意事項

安裝AutoIt,可以選擇原汁原味的官方安裝包,也可以選擇 AutoIt中文論壇(簡稱 ACN)出品的漢化增強版。

官方安裝包 autoit-v3-setup.exe 集成的是裁剪版本的SciTE編輯器,如需更多功能(如要使用Koda Form Designer 編寫帶GUI界面的程序),則要另外單獨下載完整版的SciTE編輯器。

官網原話如下:

Editor - A cut down version of the SciTE script editor package to get started。 Download the package below for the full version!

漢化增強版(推薦)中收錄了不少官網論壇以及中文論壇中的UDF(User Defined Function,即用戶自定義函數),還附帶了很多有用的工具,如SPY++、DLL查看器、代碼迷惑工具,等。相應地,體積也大了不少。

參考資料 >

AutoIt 在線文檔.AutoIt中文網站.2019-07-10

AutoIt Overview.AutoIt官方網站.2019-07-10

生活家百科家居網