Skip to content

Releases: phil294/AHK_X11

1.0.4

03 Aug 13:04
Compare
Choose a tag to compare
  • 1f3e9da Add Eval command (only available in AHK_X11, not Windows)
  • 66c29c2 Add new ahk_x11-only directive #DefineCommand
  • 2d8898f Fix grabbing hotkeys when CAPS is active
  • ef29d81 68e3308 Add := for simple math operations. Expressions in general still aren't supported and probably won't for a long time, but now you can write basic additions etc. in a single line. Example usage: my_var := other_var * (16 + 5). So you'll need to omit percentage signs around variables. This is done for compatibility purposes, even though this adds an unnecessary learning curve. Expression syntax was a mistake!!1
  • 7873b93 94352da Fix building from source (#80)
  • 825e006 Remove the .deb build. It adds nothing and added so much confusion
  • 420049d Ignore missing file dependency (#75)

Also ahk_x11 is now available for ArchLinux (see Readme, thanks to sonofaglitch and Freso) and NixOS (WIP) - thanks @UlyssesZh

Edit 2024-08-04: Reuploaded the right binary, the previous one had a startup error, and fixed math := operations

1.0.3

21 Oct 20:17
Compare
Choose a tag to compare
  • 62da8af Fix setting the Last Found Window in a few commands
  • ac1ba97 Add A_ThisMenuItem
  • 5aadcb1 Fix ControlSetText ErrorLevel
  • 2c2fc66 Change build process: Add Makefile
  • a82f30b Make, build and release as .deb package, optional for Debian/Ubuntu users. This doesn't do anything more than the AppImage does, except installing it might be easier for some folks.
  • 83cf9b5 Prevent application crash if active_window fails (#61)
  • 1673aac Fix searching windows by ahk_class in some cases (#60)
  • b958210 Note libfuse2 requirement in Readme
  • 6a83088 Reject non-utf8-files (#5)
  • fd248d1 Fix build errors being chewed up in headless environments
  • 66317af Show console warning when running on wayland
  • 64d4736 Appimage/compiler warning: show while compiling, not on every run
  • 31beec9 Fix invoking script file: Alpine/busybox compatibility
  • 5f5e5b4 Ignore any #NoEnv directive (failed before)

1.0.2

09 Aug 21:13
Compare
Choose a tag to compare
  • 167a83d Fix Numpad hotkeys (#52)
  • 850880b Add new edge case special directive #XGrabRoot. You'll likely not need to use it. Reenables the previous hotkey grabbing logic when present (v0.5.1 and prior) (#51)
  • 479ba61 Fix rare case of script invoking another script (e.g. via Reload) on Hotkey press on some systems (Solus KDE) (#53)

1.0.1

29 Jul 12:07
Compare
Choose a tag to compare
  • 27bac77 Fix Input immediately followed by Send, sending the last typed Input key (#51)
  • 26f1722 Fix Hotkey / Send combination on Solus Linux (#51)
  • df8e013 Fix immediate Hotstrings sending their own last character, such as :*:abc::cde. Until recently, this used to falsely only send de instead of cde
  • 1e095e7 3b9a7e6 Fix grabbing modifier hotkeys that send a key, such as LAlt::Send a (#50)
  • 70d0b14 WinGet: Add sub-commands PID, ProcessName, Count and List / Fix matching all windows by specifying empty title
  • 599ae58 MsgBox: see first arg as options only if the value doesn't come from a variable. For example, x = 4, MsgBox, %x%, text now properly shows 4, text.
  • fb0b06c Fix libthai.so.0 dependency (#45)
  • e2aa6bd Tray menu: show default mouse hover tooltip, the script/binary name
  • c640e44 Add Dockerfile (based on Alpine)
  • ba76ea5 Readme: Add a "Migrating from Windows" section

1.0.0

20 Jul 12:32
Compare
Choose a tag to compare

Download below under assets

This release adds key rebindings a::b, several missing commands and bug fixes.

The version is now at 1.0. Nothing really changed conceptually, but AHK_X11 is now in a reasonably stable state. You can expect there to not be many big updates from now on: Most things this project set out to fulfil are complete and all important commands are done now with this release. Hopefully Wayland support will be stable soon (you can try out a preview version here if you want), but that's about it.

List of changes:

0.6.0

06 Jul 23:19
Compare
Choose a tag to compare

Do not use: First demo with Wayland support

01 Jul 18:54
Compare
Choose a tag to compare

DO NOT DOWNLOAD THIS unless you know what you're doing. Please download version 0.5.1 BELOW instead.

This version contains a first demo for usage under Wayland. Several commands are not working properly. For more details, check out the Readme from the Wayland branch and the issue on Wayland support, #2. The attached binary was not optimized for performance and contains debugging symbols (i.e., will spam your console).

With that said, feedback is welcome!

0.5.1

09 Mar 23:11
Compare
Choose a tag to compare

32069c4 Run/RunWait: Fix crashes or style changes to targets built with Gtk (#37) (bug since 0.5.0)
695222d Disallow running the installer as root as it's not supported and can break things (#6)
2954db7 Prevent ToolTips from wrongly taking focus away from the active window (bug since 0.5.0)

Download and run the native Linux executable ahk_x11-0.5.1-x86_64.AppImage below. It does not require any other dependencies to be installed apart from X11.

0.5.0 - Portability, Bugfixes

27 Feb 01:36
Compare
Choose a tag to compare

Hi! This release doesn't add a lot of new stuff, but hopefully, from now on, the builds should finally be eternally compatible with all Linux systems to come, as was already always promised in the project's description. This is now achieved by switching from native statically linked binaries to AppImage. Compatibility is of course still heavily reduced by the requirement for X11, however, as Wayland support is still missing.

For you, this probably doesn't change much, except the binary is now 30 MB and ends in .AppImage. Still you just download it, mark it as executable, optionally rename it and continue to work with it like before. Please notify me in case you experience any problems, e.g. by opening an issue. Note that there will now be many GTK warnings and errors in the console which I don't yet know how to prevent (#4). You can ignore them.

Also most (all?) crashes from previous version should now be gone!

Detailed list of changes, roughly sorted by importance:

a3baab7 Change deployment to AppImage (#24)
a5ade1f Allow invoking the binary from stdin directly without the need for /dev/stdin. Now you can just do ./ahk_x11 <<< MsgBox. Remaining functionality stays working.
3cb7c51 Fix many (all?) crashes by switching GTK 3 bindings from jhass/crystal-gobject to hugopl/gi-crystal
f71d815 (internal) Add automated test suite to avoid future regression errors
0da72d1 Fix hotkey re-grabbing after send-like operations (#33)
475b9c6 Add keys CapsLock, ScrollLock, NumLock. None of these seem to work perfectly, but it's better than nothing. (caps #35)
9c145a6 Add support for mouse buttons in Send such as Send, {LButton}, also works with up/down and count number (#19)
85a2cd8 Add support for wheel left / right in MouseClick
8fd026c Run/RunWait: Properly escape params, disable shell features and prevent ahk args from spanning multiple parameters. See commit details if this affects you.
acc7187 Run: keep programs running after program exit
a8ea453 PixelSearch: fix wrong x/y with CoordMode relative (the default)
1e99d09 Fix GuiControl for edits
76dc260 Fix error with variables and unicode characters such as my_var = ❌%b%
4cca710 Fix ToolTip following mouse on repeated calls if x/y are not given
8dcb4b6 Prevent ToolTip from blocking other windows like MsgBox

0e2a98b Fix WinGetText / ControlGetText for elements without text but with element name
8f349fb Improve Control* commands error handling
e5b286d Remove warning about BadAccess for grabbing keys
f709d52 Debug: show run command before parsing string in case the latter fails
cccdee9 Parse errors: fix showing full stack trace in console / bf9e840

Moved build instructions and contributing info into its own file (see Contributing section). Hopefully now less people get confused about how to download the binary...

4ac9570 Add version to final build binary name. It's now called ahk_x11-versionNumber-x86_64.AppImage (instead of ahk_x11 previously) because I guess that's how you do it?

0.4.1 - Bugfixes regarding Hotkeys / Send

19 Dec 19:20
86f259a
Compare
Choose a tag to compare

4229362 Hotkeys, Send keys: fix key name case detection (e.g. {F1} vs {f1}) (#27)
141d20d Hotkeys: fix lowercase + shift like +s::
04e6e32 fix MouseClick without specifying coordinates
8fcae9d add #Include / #IncludeAgain
27e78c8 fix Run, edit ... verb
e9bb892 add Gui, Add, Picture
14dfb0c Gui, Add: when specifying nonexisting control type, fall back to text
f456a8f Gui, Add, Button: Fix automatic label creation case sensitivity such as ButtonOk:
2f58dcc Hotkeys/Send keys: fix disallowing certain key names such as =A:: which previously wrongly was just understood as =::
6da4328 Hotkeys/Send keys: ignore $ character (#26)
93562b7 fix GetKeyState while spamming Send
f9fbd49 add Input i option

There are three different builds available this time, compatible with all common current Linux distributions (x86_64):

  1. ahk_x11 the normal build, use this if you don't know which one to choose
  2. ahk_x11-no-gc the garbage collector is disabled in this build. You can use this one if the normal version crashes too often, which can happen with Guis sometimes, esp. when you re/create many of them.
  3. ahk_x11-debug avoid this unless you're trying to reproduce errors. This one includes a lot of logging and is not optimized.