• (⬤ᴥ⬤)@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    i was wondering if there was any program akin to autohotkey for linux, i found one that does text replacement and it’s fine but i really liked the stuff you could do with autohotkey, i had an entire popup menu of little tools on windows

    • Fijxu@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      I don’t remember the name but there is one alternative that is made on Python and you can write the rules on Python.

      I don’t know if it works on Wayland tho.

    • adr1an@programming.devOPM
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Perhaps xdotool (assumming X11 and not wayland, there might be a fork? idk). Random self-reference trivia fact: I never used AHK, heard many great things about it and regretted a lot being on Linux by then. This was ~11 years ago. Then, some years later, at a gig I needed to type pre-formatted emails (like every 2 weeks, answering the same) and for that I used xdotool and assigned the commands as custom shortcuts under KDE :) it was one of my proudest moments towards Open Source Software.

      • (⬤ᴥ⬤)@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 months ago

        also have that lmao, yea it’s useful but it doesn’t come with a ui so no custom menus. ig i should just bite the bullet and learn bash to use with yad