As we know we are having AutoIt script for windows XP/2000/..etc.

Do we have same AutoIt scripts for linux machines?

  • 3
    You'd better ask this in unix.stackexchange.com or askubuntu.com – Ali Mar 21 '12 at 9:56
  • Related: GUI scipting for Linux at SR.SE – kenorb Jun 2 '17 at 8:45

This topic has been discussed many times on the AutoIt forums. One of the more recent ones that I can remember is this one, by far the most comprehensive about it is here.

Some features of AutoIt do work under wine. However, some of the more powerful automation function are very windows specific so I doubt they will work perfectly.

However, wine is not the answer. You are much better off finding alternatives that are native to linux. A few ideas that might be worth investigating:

  • Java, using classes such as java.awt.Robot
  • Python, google for python automation libraries for linux, like uinput or dogtail.
  • Any of the tools listed on this page.
| improve this answer | |

Look at expect or shell scripting or xautomation

| improve this answer | |


Fake input from the mouse and keyboard very easily.

Home page: jordansissel/xdotool at GitHub


You can use AutoHotkey (AHK) under Linux by executing it under Wine. This is how winetricks are using it in Linux (see w_ahk_do() in src/winetricks), e.g.

wine AutoHotkey.exe script.ahk

There is also PYAHK AutoHotKey Python library which integrates AutoHotKey with Python. Probably you can run AutoIt under Wine as well. The downside is that you can control only Windows app under Linux.

For general Linux automation tools, see: GUI scipting for Linux.

For Python libraries, see: Python GUI automation library for simulating user interaction in apps.

See also: GUI testing tools at Wikipedia

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy