I have an autohotkey script that is moving the cursor around the screen, clicking and editing data, and (should also) copy and paste information. The copy and pasting does not seem to work and after some troubleshooting I have isolated the issue to be something on my machine that prevents certain keystrokes. Here's an example of what my script does:
^!3::
{
global
CoordMode("Mouse", "Screen")
MouseMove(1180, 385)
Click()
Click()
Send("^c")
Return
}
Everything except that final Ctrl + C works. I isolated it to the ctrl key not registering:
^!3::Send("^c") ; this does not work
^!3::Send("c") ; this works
However, when I run this in a Windows Server VM it correctly copies the selected text, so it just doesn't work on my own laptop.
What troubleshooting steps can I take from here? Environment info:
- AutoHotkey v2.0.12
- Windows 11
- PowerToys 0.82.0 installed but disabled/exited for testing purposes here