複製鏈接
請複製以下鏈接發送給好友

autoit

鎖定
AutoIt 最新是v3版本,這是一個使用類似BASIC腳本語言免費軟件,它設計用於Windows GUI(圖形用户界面)中進行自動化操作。它利用模擬鍵盤按鍵,鼠標移動和窗口/控件的組合來實現自動化任務。而這是其它語言不可能做到或無可靠方法實現的(例如VBScriptSendKeys).
外文名
autoit
功    能
運行Windows和Dos程序等
優    點
免費不需要許可證、方便擴展等
注意事項
需單獨下載完整版的SciTE編輯器

autoit基本簡介

autoit簡介

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

autoit功能

運行Windows和Dos程序 [1] 
模擬鍵擊動作(支持大多數鍵盤佈局)
模擬鼠標移動和點擊動作
對窗口進行移動,調整大小和其它操作
直接與窗口的“控件“交互(設置/獲取文本,移動,關閉等等)
配合剪貼板進行剪切/粘貼文本操作
對註冊表進行操作
不同於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官方介紹

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 (e.g. 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" required! [2] 
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)

autoit發展簡史

誕生於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版本後停止發放源代碼。

autoit使用簡介

autoit優點

- 輕量級(官方發佈包10M左右),編譯成可執行文件後在沒有安裝 AutoIt 的機器上也可直接運行
-免費,不需要許可證
- 有豐富的函數庫(標準函數庫和自定義函數庫)
- 基於Win32 API,方便擴展
- 有完善的幫助文檔和豐富的論壇資源

autoit注意事項

安裝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查看器、代碼迷惑工具,等。相應地,體積也大了不少。
參考資料