What are some use cases where having AHK scripts would help? On the same note, can anyone share some existing list of scripts and their functions which helped make their lives easier?
AutoHotkey v2 Official Release Announcement
61–70 of 153 posts
Re: AutoHotkey v2 Official Release Announcement
#62Earlier quoted context omitted.
Syntax
I really don't see how AHK's script language is somehow not intuitive or simple enough. The syntax is pretty easy to grasp. You have all the tools "natively" to even pick positions on windows, its pretty extensive too.
Should I use a brace? On the same line or on a new one? How to pass parameters, with or without paranthesis? Should I use ::?
There are many such issues.
I love AHK but every time I wrote a script or is trial and error to discover the proper syntax.
Re: AutoHotkey v2 Official Release Announcement
#63I recently updated my scripts to work with ahkv2. https://github.com/EBADBEEF/ahkv2-scripts Some things I'm proud of here: - easy debug console (https://github.com/EBADBEEF/ahkv2-scripts/blob/main/Autostart.ahk#L4) - compose keys (to type keys like "¿ é ü" easily). Includes libX11 key database parser - window move and resize with mouse I love AutoHotkey's documentation. It is an old school windows help file (chm) and…
Re: AutoHotkey v2 Official Release Announcement
#64Re: AutoHotkey v2 Official Release Announcement
#65It is really a time saver.
Re: AutoHotkey v2 Official Release Announcement
#66Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS. v2 syntax and features are so much better. It was basically in development for a decade and AHK itself more then 20 years.
macOS has AppleScript that does the same thing, and it’s built into the OS. https://developer.apple.com/library/archive/documentation/Ap...
Re: AutoHotkey v2 Official Release Announcement
#67I ended up using AHK for komorebi[1] because I was still new to Windows when I started writing it and I didn't wanna have to write a tiling window manager AND a hotkey daemon. I even ended up generating a nice little AHK library to wrap around CLI commands that sent socket messages to the window manager to make it easier to write a configuration. Ultimately the syntax changes make it impossible to fully reproduce the…
I had tried to set it up a while ago but had to give up. Configuration was a bit arcane! I wonder if other TWM are like that as well. I just wanted to upgrade from PowerToy’s zone manager, but the step from that to komorebi was very steep.
Maybe one day there’s a more idiot-proof approach to komorebi! ;)
Re: AutoHotkey v2 Official Release Announcement
#68Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS. v2 syntax and features are so much better. It was basically in development for a decade and AHK itself more then 20 years.
macOS has AppleScript that does the same thing, and it’s built into the OS. https://developer.apple.com/library/archive/documentation/Ap...
Re: AutoHotkey v2 Official Release Announcement
#69Autohotkey is awesome and special, and everybody on Windows should learn it. There is no such thing on any other OS. v2 syntax and features are so much better. It was basically in development for a decade and AHK itself more then 20 years.
macOS has AppleScript that does the same thing, and it’s built into the OS. https://developer.apple.com/library/archive/documentation/Ap...
So how to you create custom keyboard shortcuts with it?
Re: AutoHotkey v2 Official Release Announcement
#70The scripting language for version 1 was pretty terrible but having messed with version 2 for a while now I'd say it's pretty decent.
I have a not-too-long list of keybinds that's currently on v1. Would you mind taking a look and letting me know if anything's not v2 compatible? [0] I don't think anything is that complicated, there's a loop or two although tbh those were more one-time-use things I haven't bothered to get rid of, in part so I have the syntax there as a reference in case I need it again. I do remember reading something about SetTitleM…