Skip to content

This application automatically draws text on canvases by sending mouse events.

Notifications You must be signed in to change notification settings

IsAvaible/AutoTextDrawer

Repository files navigation

AutoTextDrawer

This application automatically draws text on canvases by sending mouse events.

When used with the default config using the hotkey ctrl+alt+= will open the draw initiation panel.

image of the draw initiation panel

After setting up the available configurations the draw can be initiated by pressing the downmost button. This will result in an image similar to this, which is drawn in around 3 seconds (processing of the input by the drawing program may take longer):

image of a example text on paint

The application ships with several open-source licensed fonts and uses a ttk theme made by rdbende (The Sun Valley theme is also available and can be selected in the config.).

Additional fonts can be added by placing a .ttf in the /fonts directory and specifying the relative path in config.json. Other types of configuration such as, the hotkey or interface texts can also be made using this config file.

In case of an emergency the application can be forced killed with ctrl+alt+=+-.

How to Install

Windows via executable

  1. Download a release from the releases section.
  2. Unzip the folder.
  3. Run the application by using the AutoTextDrawer.exe.

Linux / Windows via local Python install

  1. Download the Source Code from the releases section and unzip it.
  2. The application needs Python 3.9 or higher to be installed on the host system. To install Python, visit Python's official website and download the latest version. Make sure to check the Path option during the installation progress.
  3. Open a terminal session in the downloaded project folder (shift + right-click Open Powershell window here) and run pip -r install requirments.txt.
  4. After finishing these initial steps the application can be run using the AutoTextDrawer.py/pyw file.
  5. Optional: If you want to autostart the application, open the startup directory with Win + r and put a shortcut to either of the files into the appearing directory.

Troubleshooting

If you are using a high dpi setting on your monitor, you may experience the problem, that the draw initiation panel is cropped after opening it for the second time. With the current way the User Interface is being built there is no way to fix this via the application source code. Instead, you need to force the High DPI scaling override in the pythonw.exe compatibility setting, as explained in this Stackoverflow Answer.

If you encounter any other bugs or above issue isn't fixed by the provided solution, you can report the issue in the Issues section.

Short Video Demo

Demo

About

This application automatically draws text on canvases by sending mouse events.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages