So I have this:
#SingleInstance, force
^x::ControlSend, , abc, notepad.exe
and it doesn't work. I have notepad open, and I hit control+x
in the Windows Explorer and nothing happens. It doesn't cut the file I have selected or type abc into the notepad window. Is something wrong with the syntax? I double checked everything.
Check the win title documentation.
AutoHotkey interprets "notepad.exe" as "some window with the title 'notepad.exe'". Unless you have opened a document called so, the specified window will not be found.
Use ..., ahk_exe notepad.exe
instead.
all the best,