12

Important: This is an X11 application and, as such, will not function correctly when Wayland is in use instead of Xorg.

Python script in AUTOKEY program

import concurrent.futures
import subprocess
import os


# Change the current working directory
os.chdir('/home/user/Documents/VideoDownloader') #change to your working directory not where autokey stores scripts (/home/user/.config/autokey/data/Start_Up_Scripts/
with concurrent.futures.ProcessPoolExecutor() as executor:
    proc1 = executor.submit(subprocess.run, ['./downloader.sh'])
    proc2 = executor.submit(subprocess.run, ['./onlinedownloader.sh'])

proc1.result()
proc2.result()

Example of a bash script in ( /home/user/Documents/VideoDownloader ) or where ever.





1. downloader.sh
------------------------------------------------------------
#!/bin/bash

./Open.Video.Downloader_3.2.0_amd64.AppImage # You can start up appimages 

------------------------------------------------------------


2. onlinedownloader.sh
------------------------------------------------------------

#!/bin/bash

librewolf https://4get.ca/   # Open Webpages

------------------------------------------------------------

Then with the push of a button using a cheap chinese macros tied to a key combo and blam. Magic.

https://linuxvox.com/blog/create-bash-script-linux/

you are viewing a single comment's thread
view the rest of the comments
[-] Auster@thebrainbin.org 1 points 3 weeks ago

From what I played around with it a few years back, iirc AutoHotKey scripts can be converted to AutoKey. However, AHK uses its own scripting language, and AutoKey uses Python.

this post was submitted on 06 Oct 2026
12 points (92.9% liked)

linux4noobs

4549 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 3 years ago
MODERATORS