Relative Content

Tag Archive for autohotkeyautohotkey-2

Ahk Error: Target Window Not Found, What is this issue?

Hi first time using autohotkey and I am not sure why this doesn’t work. I am trying to have a script run when the computer starts up that open 6 browser’s on 6 different displays but get the error shown in the title.

Unable to empty clipboard in AutoHotKey v2.0.18

So, I was trying to update a script using the Clipboard of Windows 11. The script was nothing much; just a hotstring. It inserts a string of characters, with the SendText command. However, I decided Clipboard was better as it was more reliable, and was much faster. The main reason is a certain “keydelay” issue. Sometimes, AHK would kinda “lag” and wait for my input before inserting any more characters from the given string. So, I decided Clipboard would be kind of like a Get Out of Jail for Free card, avoiding the annoying issue completely. However, Clipboard turned out to be more of a roadblock than ever; But this time, it is probably an actual bug, either with the system or with AutoHotKey.

Differentiate trackpad’s buttons vs. Tap to click

I do not use the trackpad’s 2 buttons. I do clicking by tap to click or clicking the whole trackpad. So I want to map the 2 buttons to something else. Autohotkey registers these 2 buttons as LButton and RButton. So I map: