便便代码人生

关注技术, 偶尔动动手

[原]AutoIt 3简介,决定翻译并开发GUI工具

Posted by bianbian on 2006-09-04 02:54

本文Tags: ,

http://www.autoitscript.com/autoit3/
用AutoIt 3花了4个小时,写了一个游戏的自动登录脚本(包括服务器端设置用户名/密码和客户端读取并解析用户名密码并自动登录)。第一次接触,感觉还不错,大部分时间花在GUI的位置调整上(感觉回到了调用WinAPI的年代,呵呵)。决定翻译并开发GUI工具。先开始翻译吧。^_^

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 95, 98, ME, NT4, 2000, XP, 2003 out of the box with no annoying “runtimes” required! You can even make compiled executable scripts that can run without AutoIt being installed!

AutoIt was initially designed for PC “roll out” situations to reliably configure thousands of PCs, but with the arrival of v3 it has become a powerful language able to cope with most scripting needs.

AutoIt can:

  • Provide a general-purpose scripting language for all Windows versions
  • Simulate keystrokes (supports most keyboard layouts)
  • Simulate mouse movements and clicks
  • Move, resize and manipulate windows
  • Interact directly with “controls” on a window (set/get text from edit controls, check boxes and radio buttons, select items in drop-down lists, etc.)
  • Create complex user interfaces (GUIs)
  • Work with the clipboard to cut/paste text items
  • Provide a scriptable RunAs function for Windows 2000/XP/2003
标签: ,

遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道

相关日志

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>