Today I Remember - Python Application Automation
As I mentioned in a previous blog, I have had some pretty strange edge-cases. Ones involving automating desktop applications. Before I mentioned using xdotool
, but I have recently had to make a pure Python script to do something similar.
When it comes to pure Python desktop automation, PyAutoGUI has been a go-to solution for a while now. The Python library allows developers to automate their workflow by controlling the mouse and keyboard, taking screenshots, and much more. The only downside? The process of creating the automation script can be tedious and time-consuming.
Enter atbswp
, a GUI tool built on top of PyAutoGUI. The tool aims to make the process of creating automation scripts a breeze. It works as a macro recorder essentially, allowing users to record their actions and export them as Python code that can be executed later.
With atbswp
, you can create automation scripts in a matter of minutes. Simply open the GUI tool and start recording your actions. Once you are done, export the code and integrate it into your Python project.
However, atbswp
has one limitation. It lacks a complementary CLI tool to load in old exports, unlike the GUI version. This makes it difficult to automate scripts that have already been created using the GUI tool.
Despite this limitation, atbswp
is still a powerful tool for creating automation scripts. Its ease of use and seamless integration with PyAutoGUI make it a must-have for anyone looking to automate their workflow.
If you want to give atbswp
a try, head over to the project’s GitHub page1 to download the latest release and get started.