autoit

autoit

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

基本介紹

  • 外文名:autoit
  • 功能:運行Windows和Dos程式等
  • 優點: 免費不需要許可證、方便擴展等
  • 注意事項:需單獨下載完整版的SciTE編輯器
基本簡介,簡介,功能,官方介紹,發展簡史,使用簡介,優點,注意事項,

基本簡介

簡介

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

功能

運行Windows和Dos程式
模擬鍵擊動作(支持大多數鍵盤布局)
模擬滑鼠移動和點擊動作
對視窗進行移動,調整大小和其它操作
直接與視窗的“控制項“互動(設定/獲取文本,移動,關閉等等)
配合剪貼簿進行剪下/貼上文本操作
對註冊表進行操作
不同於AutoIt v2版本,新的v3版本有更多標準語法-類似於VBScriptBASIC-而且支持更複雜的表達式,用戶函式,循環以及腳本編寫老手們所期待的其它所有內容.
正如以前版本一樣,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 (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!
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查看器、代碼迷惑工具,等。相應地,體積也大了不少。

相關詞條

熱門詞條

聯絡我們