You are viewing a single thread.
View all comments View context
2 points
*

@tsonfeir But Linux does not have AutoHotkey. This is the biggest deal-breaker for me by far. AutoKey seems be the closest thing, but it’s such a massive pain to even try to use by comparison.

permalink
report
parent
reply
5 points

Depending on your usage, perhaps this re-implementation of AHK for Linux might be of use to you.

https://github.com/phil294/AHK_X11

permalink
report
parent
reply
2 points
*

Interesting, thanks. I think ultimately, seeing this port’s adherence to AHK v1 syntax, I’d just have to bite the bullet and learn Python or something, though…

Never mind, I’ve since stumbled across xdotool!

permalink
report
parent
reply
3 points

I doesn’t have auto hotkey because for the most part, you can control Linux from the command-line without someone having to invent a new scripting language from scratch to control it.

I heavily recommend you familiarize yourself with bash and the system commands you’ll need to send key presses, move windows, spawn and kill programs, etc.

permalink
report
parent
reply
1 point
*

Hmm, thanks. Can it simulate mouse-clicks?

Apparently, xdotool can! I guess the next thing would be generating GUIs. I think the final issue is that this would cause quite the fragmentation given how I use the same scripts on my Windows-only work laptop… but I’ll think about this more…

permalink
report
parent
reply
1 point

An alternative is python, it can do GUIs easily, and it does have mouse-control facilités as well and it is cross plaform. That being said generally on Linux you don’t even need to automate mouse click, as almost all of it can be controllers with straight up commands.

permalink
report
parent
reply
2 points

Fuck me, there is no worse way automating things

permalink
report
parent
reply
1 point
*

Do you have any as-convenient alternative? It’s way easier to use than Python or anything else, and it’s sped up some of my work procedures by, like, 7x. I use it for dozens of text expansion strings, autocorrect, address typers, mouse-clickers, etc.

Never mind, I’ve since stumbled across xdotool! I suppose this may be doable after all…

permalink
report
parent
reply

Technology

!technology@lemmy.ml

Create post

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

Community stats

  • 3.5K

    Monthly active users

  • 2.9K

    Posts

  • 45K

    Comments

Community moderators