Autohotkey is the only windows thing I miss on Linux. And it seems impossible to even discuss desktop automation with contemporary Linux DE people, they just glaze over. "Like, why would you want apps to be able to control other apps, that sounds dangerous! We definitely want to protect you from that in Wayland.... Oh, what's that? You are a large consultancy that uses time tracking apps to help with billable hours?…
Its possible - atleast on xorg, but why not write scripts in your favourite language to do the same automation instead of using a third party app ?
AutoHotkey v2 Official Release Announcement
121–130 of 153 posts
Re: AutoHotkey v2 Official Release Announcement
#122Autohotkey is the only windows thing I miss on Linux. And it seems impossible to even discuss desktop automation with contemporary Linux DE people, they just glaze over. "Like, why would you want apps to be able to control other apps, that sounds dangerous! We definitely want to protect you from that in Wayland.... Oh, what's that? You are a large consultancy that uses time tracking apps to help with billable hours?…
Re: AutoHotkey v2 Official Release Announcement
#123Earlier quoted context omitted.
Maestro is more like a Macro Recorder while AutoHotkey is a programming language for automation. Also AHK community is huge.
Keyboard Maestro is not just a Macro Recorder. It can control most of the Mac interface and most applications. You can start using it as a recorder but when you learn to to incorporate applescripts and other tricks, it can manipulate the entire Mac experience. I would be lost without it.
Re: AutoHotkey v2 Official Release Announcement
#124Earlier quoted context omitted.
Coming from an ahk user circa 2010, I have never been able to wrap my head around pythons insistence on indentation. Ahk let's me type whatever however and it just works.
Honest question, why? If you properly format your code then it's indented anyway so Python is basically just replacing `{` with `:` and then not having a `}`. Python is the least problematic of all the languages enforcing some style things. Go insisting on Google's stupid styleguide is just dumb, Lisp having the parentheses on the wrong positions and ignoring the fact that there is more than one bracket type availabl…
AHK let me scrap whatever script from internet or i could come up, throw them in notepad and it would work.... now, python makes you "properly indent" which coming from AHK makes my head explode
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...
this is a good example. AHK would read this normally but no, python sees whitespace and wants to "use that"....
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2F...
this would never happen on AHK so it makes me mad.
part of the reason why i have never gotten hold of python while i can whip up an AHK script in my mind
Re: AutoHotkey v2 Official Release Announcement
#125Earlier quoted context omitted.
Many thanks. How do they compare with autokey? I haven't tried it properly, but it gets mentioned a lot. https://github.com/autokey/autokey
I haven't used AutoKey personally, but it's quite capable and generally "just" a Python library that also happens to ship with its own optional editor ( https://autokey.github.io/autokey/_images/AutoKey_Scripting.... ). Keysharp / AHK_X11 on the other hand ship their own runtimes that will be / are compatible with the actual programming language AutoHotkey v2 / v1 and thus cannot be used in conjunction with other lan…
Re: AutoHotkey v2 Official Release Announcement
#126I 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…
Thanks for creating komorebi. 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
#127Autohotkey is the only windows thing I miss on Linux. And it seems impossible to even discuss desktop automation with contemporary Linux DE people, they just glaze over. "Like, why would you want apps to be able to control other apps, that sounds dangerous! We definitely want to protect you from that in Wayland.... Oh, what's that? You are a large consultancy that uses time tracking apps to help with billable hours?…
I miss everything search engine too. Nothing similar exists. Was missing total commander but now that is solved with double commander.
Re: AutoHotkey v2 Official Release Announcement
#128I see here are the masters of ahk! Is there a smart way to mark/record from a specific moment till "done" and just reply it 1/n times? I tried many macro tools but none of them was "just easy" to use.
Can you expand on “from a specific moment till done” and possibly provide an example? What’s the exit condition? Time? A ui change? Seems like you could write a do_macro function and bind a key to loop it till “done” but I may be misunderstanding
Re: AutoHotkey v2 Official Release Announcement
#129Autohotkey is the only windows thing I miss on Linux. And it seems impossible to even discuss desktop automation with contemporary Linux DE people, they just glaze over. "Like, why would you want apps to be able to control other apps, that sounds dangerous! We definitely want to protect you from that in Wayland.... Oh, what's that? You are a large consultancy that uses time tracking apps to help with billable hours?…
I used AutoHotkey to send keystrokes as media commands to an mpv window (if one is open somewhere in the background -- so I don't have to alt-tab from games) and as those literal keystrokes to the rest of the system. On Linux, I do that with `xdotool`. But that's an X11 thing; on Wayland, yeah, there's probably no `xdotool` replacement yet. :p
It's like asking someone "where am I" and them setting off a contraption that drops a bowling ball on some dominoes that launches a parakeet into a blanket covering a street sign to knock it off and show you. It's all very clever and allegedly safer than just saying it out loud, but also stupid.
Re: AutoHotkey v2 Official Release Announcement
#130What 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?
Back when I played Minecraft, I wrote one I was pretty pleased with: If you have a stack of items, you can pick up half of them by right-clicking on it, which is very convenient when you're dividing out a stack on the crafting grid to make many copies of a recipe that needs that item in 2 or 4 slots; but for some recipes, you need to put the same item in 3 or 6 slots, and there's no built-in way to divide a stack int…