Releases: phil294/AHK_X11
1.0.4
1f3e9da
AddEval
command (only available in AHK_X11, not Windows)66c29c2
Add new ahk_x11-only directive#DefineCommand
2d8898f
Fix grabbing hotkeys when CAPS is activeef29d81
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!!17873b93
94352da
Fix building from source (#80)825e006
Remove the.deb
build. It adds nothing and added so much confusion420049d
Ignore missingfile
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
62da8af
Fix setting the Last Found Window in a few commandsac1ba97
AddA_ThisMenuItem
5aadcb1
FixControlSetText
ErrorLevel2c2fc66
Change build process: Add Makefilea82f30b
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 ifactive_window
fails (#61)1673aac
Fix searching windows byahk_class
in some cases (#60)b958210
Notelibfuse2
requirement in Readme6a83088
Reject non-utf8-files (#5)fd248d1
Fix build errors being chewed up in headless environments66317af
Show console warning when running on wayland64d4736
Appimage/compiler warning: show while compiling, not on every run31beec9
Fix invoking script file: Alpine/busybox compatibility5f5e5b4
Ignore any#NoEnv
directive (failed before)
1.0.2
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. viaReload
) on Hotkey press on some systems (Solus KDE) (#53)
1.0.1
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 sendde
instead ofcde
1e095e7
3b9a7e6
Fix grabbing modifier hotkeys that send a key, such asLAlt::Send a
(#50)70d0b14
WinGet: Add sub-commands PID, ProcessName, Count and List / Fix matching all windows by specifying empty title599ae58
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 shows4, text
.fb0b06c
Fixlibthai.so.0
dependency (#45)e2aa6bd
Tray menu: show default mouse hover tooltip, the script/binary namec640e44
Add Dockerfile (based on Alpine)ba76ea5
Readme: Add a "Migrating from Windows" section
1.0.0
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:
27daaf4
Add Key Remappings likea::b
428d952
Send: Add{blind}
modifier76f9db6
Add InputBox2dec99d
Add Click - not part of 1.0.24 spec but common and useful enough to add it anyway89ddd5e
Add MouseClickDragc14bad3
Add TrayTip - allows you to show notifications. This is like callingnotify-send
except that you can also remove all notifications again500f2d8
Add RunAs - also works for graphical applicationsbac4181
Add BlockInput73f1442
Add #MaxThreadsPerHotkey - The default is now correctly 1. Before, it was unlimited. You might need to adjust your scripts if they relied on this flaw.c18e645
Add SoundPlayf15f3c7
07608fb
Add SoundGet / SoundSet - only Master volume and ON/OFF / MUTE for nowad8bd21
Add Sortc9f78bd
Add Random9946a51
Add Shutdown1188b38
Add StringSplite67b0fa
Add StringTrimLeft / StringTrimRightfc92802
Add WinShow / WinHide44130f1
Add WinMinimizeAll / WinMinimizeAllUndoe4d01a0
Add WinSetTitledb32862
Add WinWaitc0749d4
Add WinWaitClose4d2b6a9
Add WinWaitActive / WinWaitNotActive87aceaa
Add DriveSpaceFreef802465
Add FileGetSize00d5d0a
Add FileRecycled1ef998
Add FileRecycleEmptyea29610
Add SplitPath36cc806
Add #NoTrayIcon and its built-in varA_IconHidden
b2b0b67
Add ClipWaitb4c13bf
Add EnvSet10bc544
Allow passing arguments to scriptseb253a4
ed57b0a
Add SetKeyDelay / SetMouseDelay and their built-in varsA_KeyDelay
/A_MouseDelay
. - As per official AHK specs, any Send or ControlSend or Mouse command command now includes 10ms of delay between each key press, by default. So if you want your scripts to continue to be as fast as before, you'll have to addSetKeyDelay, -1
/SetMouseDelay -1
at the very top. Bit annoying, but inevitable.7e36054
0895964
eb1ae5a
aa2e1c3
775320b
e5660cb
ccc1cc8
2b750b1
2c056ba
a033964
3e4c72f
Add built-in variables0
and1
,2
,3
etc., and:A_mmmm
,A_mmm
,A_dddd
,A_ddd
,A_LineNumber
,A_ThisLabel
,A_IsCompiled
,A_TimeIdle
,A_Gui
andA_GuiControl
,A_ThisHotkey
andA_PriorHotkey
,A_IsSuspended
(#40),A_Language
,A_Desktop
,A_Startup
,A_MyDocuments
99837bf
FixHotkey, LButton, OFF
/ fix mouse button ungrabbingf8e2a7a
05052bb
Fix clearing Clipboard134303c
Send / SendRaw Restore modifiers after sending3711e02
FixXButton2
Hotkeys (#48)06d98ff
Fix Hotstrings containing the trigger char itself, e.g.btw::by the way
didn't properly send the first space2f2537d
Fix {Esc} Hotkey (#48)dbe6fcc
Fix Hotkey + Send combinationsfc88e1b
Fix star Hotkeys matching shift modifier too. Example:*a::
wasn't triggered by shift+a but now it properly is. Small breaking change: Hotkey with shift keys need to be declared explicitly because the uppercase version is transformed to lowercase. So it isn't enough anymore to do e.g.A::
- you'll have to do+A::
or+a::
now.a66d77a
Fix Hotkeys sending themselvesdd5fd9f
Fix line stripping before comments. For example,var1 = 1 ;
falsely added the spaces to the end of the variable valuee31a8d5
Allow reading from built-in vars apart from user vars like before472e3c2
Fix ControlClick ErrorCodee6083da
Fix crashes on some debian-based systems: Fatal IO error 11 / [xcb] Unknown sequence number while processing reply (#44, #42)161764b
FixA_LoopFileSizeKB
/A_LoopFileSizeKB
: Should be rounded down to the next whole number3e70c7e
Run / RunWait: Fixexplore
verb03efbba
Improve readme, add code examples at the top8a60a86
Document problems with mouse button remapping in the Readme (#49)
0.6.0
c6ad56b
Add DetectHiddenWindows andA_DetectHiddenWindows
9f976a5
53fa4c7
0b92357
Prevent grabbing hotkeys and Input from grabbing focus while held downe78081b
Fix handling #SingleInstance17f5abe
Gui, Add, Picture: Allow specifying a common icon name instead of path, e.g.Gui, Add, Picture, , icon:appointment-new
0a0704d
Gui, Add, Picture: Fix bad clipping when x/y were specifiedaabdf5c
Gui, Add, Picturew
/h
option with automatic scaling with-1
e95e11c
Add Gui, +/-Option...:Unnamed Style
andUnnamed ExStyle
(but only+0x80000000
and+E0x8000000
for now)3f3d2dc
Include missing dependencylibthai.so.0.3.1
in final build (#538)04f7115
Fix setting last found window in IfWinActive / IfWinNotActiveb4f7c36
Run / RunWait: fix overwriting envLC_ALL
(locale)6ededcf
EnvAdd / EnvDiv / EnvMult: Support numbers up to Float64c3a6f2e
Show uncaught exceptions as popup to the usere78081b
Remove internal dependency onpgrep
Do not use: First demo with Wayland support
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
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
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
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):
ahk_x11
the normal build, use this if you don't know which one to chooseahk_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.ahk_x11-debug
avoid this unless you're trying to reproduce errors. This one includes a lot of logging and is not optimized.