Connect with us

Hi, what are you looking for?


How to Record And Play Mouse And Keyboard Events With Atbswp Macro Recorder (GUI)

Atbswp is a new graphics program (Python3) that can be used to record mouse and keyboard events. You can play (replay) them as many times as you want, either by pressing the key or by recording and executing the mouse and keyboard actions in script form without having to send them back to Atbswp.

The application is an open source clone of the TinyTask utility for Windows only (currently under development) that runs on both Windows and Linux with Xorg and will support Wayland in the near future.

How to Record And Play Mouse And Keyboard Events With Atbswp Macro Recorder (GUI)

This application can be useful, for example, to automate certain demonstrations or to perform long tasks where the same items have to be clicked over and over again. If you want to automate repetitive input (text expansion), I recommend using AutoKey.

Features of Atbswp Desktop Automation Tool :

  • Recording and playback of mouse movements, clicks and keystrokes on demand
  • Save the capture (macro) as a script and execute it independently of Atbswp.
  • You can use shortcut keys to start recording and playback
  • Allows you to repeat the recording a certain number of times or endlessly.

It is important to note that the user interface elements must be in the same position when recording and playing back the macro. See here Outsource Support in India. Atbswp has no image recognition to identify user interface elements such as SikuliX.

Maybe you’d like that, too: How to link mouse buttons to keys or keyboard commands (Linux with X11)

Use the Atbswp automation tool to record mouse and keyboard actions and automatically play them back on demand

First I show a short video demonstration of the Atbswp macro recorder, then I explain how the mouse movements and clicks and the keystrokes can be recorded and played back with it:

In this video I am going to start by clicking the Start/Stop Capture button in Atbswp and then perform some mouse and keyboard actions. Then I stop the recording in Atbswp by clicking Start / Stop Capture again, and finally I click Playback to Atbswp Playback to play back the recorded keyboard and mouse actions.

It’s like using the Atbswp keyboard and mouse of a macro recorder.

1. Start of acquisition of mouse and keyboard events

To start capturing mouse movements, clicks and keystrokes, press the Start/Stop Capture button.

2. Shut-off handles

When you have finished recording everything you need for later playback, press the Start/Stop Capture button again to stop recording.

3. Outputting (Playback) your photo

Press the Play button to play back the recorded events with the mouse and keyboard.

Extra: Keep the handle for future use on

Click Save to save the recording to disk for later use, so you can load and play it back in Atbswp without having to save it again.

Extra: Recording (macro) under script

You can save the recorded mouse and keyboard events as a separate script that can then be run independently of Atbswp. You can do this by clicking on the Compile button to start. After saving, make the file executable (e.g. chmod +x capture.pyc) and run it in the terminal (./capture.pyc in the folder where you saved capture.pyc) or by double-clicking the file (if your file manager allows it).

Download/Install Atbswp

The Atbswp Macro Recorder Project page contains installation instructions for Fedora, Debian (and Debian-based Linux distributions such as Ubuntu, but also Ubuntu-based distributions such as Pop!_OS, Zorin OS or Linux Mint) and Microsoft Windows. Use the instructions in the file to download and run it.

The instructions for installing Debian (and Ubuntu) from the Atbswp GitHub project page are incorrect. Editing: The developer has agreed that my PR will correct the Debian/Ubuntu installation instructions, so I’ve uninstalled those instructions here – you can find them on the Atbswp project page of the GitHub desktop automation tool.

Each time you want to run the Atbswp Desktop Automation utility, you must open a terminal, go to the folder where you cloned Atbswp’s git repository and run python3 atbswp/ (assuming you cloned Atbswp in your home directory) :

CD ~/atbswp

python3 atbswp/
Or you can create a new application menu item (e.g. with an application like FreeMenu) using python3 /path/to/atbswp/ (replaced by the path to atbswp/ as the Exec command.

You May Also Like


Introduction In previous articles we have talked about images of dockers, the origin and functioning of dockers and the dockers’ hub. In this document...


Linux desktops are good in many ways, but like Windows they are not known as the most efficient battery. This does not mean that...


The United States Supreme Court has indicated that it will finally solve a problem that has been causing legal problems for almost two decades:...


To secure your AWS assets, follow these AWS Identity and Access Management (IAM) guidelines. Locking the Root User Access Key for AWSAccount You use...