You are confusing Class and ClassNN.
ControlSend requires ClassNN as the second parameter
Notepads default ClassNN is Edit1.
ControlSend, Edit1, {b down}{b up}, Untitled - Notepad
Question
ControlSend, Notepad, {b down}{b up}, Untitled - Notepad
I want to send b
key input to Notepad window (so that b key would be pressed, when Notepad's window is not active).
No error, no feedback, nothing happens. I found out Notepad's class by using Window Explorer program and the title is the default unsaved document's. What am I doing wrong here? I was trying to find something working that would help solve this problem, but there isn't so much information.
Solution
You are confusing Class and ClassNN.
ControlSend requires ClassNN as the second parameter
Notepads default ClassNN is Edit1.
ControlSend, Edit1, {b down}{b up}, Untitled - Notepad