Advanced

Non-Linux FOSS: AutoHotkey

Posted by bob on · 4 comments
Linux Journal; By Shawn Powers
Mail this story
Print this story

Text expansion and hotkey automation are the sort of things you don't realize you need until you try them. Those of you who ever have played with system settings in order to change the function of a keystroke on your system understand the value of custom hotkeys.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Community, Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (4)

The alternatives for Linux fall very short. Unlike xrec...I can't recall the name, this program has a real language that can handle events very smoothly.

If anyone is looking for an open source project to add to Linux, something along these lines would complete it IMHO.
Though I like AutoHotKey, the syntax is terrible. It takes ages to do a simple programming task, as the difference between statements and expressions and putting a value in a variable are totally confusing the hell out of me.

AHK shines though, where you need a quick Windows-GUI which users can run as a standalone app without installing anything, which is the company I'm currently working for.

I spend lots of time trying to compile some GUI with Python for Windows, but to no avail. AHK saved the day.

The funny thing here, is that first there was AutoIT, which in my opinion has an easier syntax then AHK, but because so many people were "leeching" AutoIT, they changed license to a more closed model. That's why I prefer AutoIT over AHK, but because AHK was GPL I switched.

So "AHK alternative" on Linux: Please no, rather have some Bash-extension with sane syntax which can create a GUI and send keys / mouse events.
I still use AutoIt on Windows. I'm with you hkwint, I'd prefer a more open license - but I just can't get past AHK's syntax. Windows is such a closed off caramel cluster anyway, that one more bit of closed off code isn't a big deal. I just pinch my nose and deal with the closed software, since I prefer the language and syntax.

The AutoIt folks are all big on Hungarian Notation though - which I'm dead set against (at least in it's currently bastardized usage). Makes me laugh when I see variable names like "$sString" or "$iInt". :)

[EDIT] As an aside, AutoIt runs just fine in Wine. You won't be able to remotely control any X controls, but the programming language works. Personally, I use the library I listed in my previous post when in an X Window environment.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post