How to send a message to QM from autohotkey, I use the following code, no effect
MyVar:="M ''Macro2''"
SendMessage, 0xC, 0, &MyVar, QM_Editor
I don't understand how to send a message to QM in AHK. The above code is wrong. Can you guide me? thanks
The following is the documentation
https://www.autohotkey.com/docs/commands...essage.htm
A string may be sent via wParam or lParam by specifying the address of a variable. The following example uses the address operator (&) to do this:
SendMessage, 0xC, 0, &MyVar, ClassNN, WinTitle ; 0XC is WM_SETTEXT
MyVar:="M ''Macro2''"
SendMessage, 0xC, 0, &MyVar, QM_Editor
I don't understand how to send a message to QM in AHK. The above code is wrong. Can you guide me? thanks
The following is the documentation
https://www.autohotkey.com/docs/commands...essage.htm
A string may be sent via wParam or lParam by specifying the address of a variable. The following example uses the address operator (&) to do this:
SendMessage, 0xC, 0, &MyVar, ClassNN, WinTitle ; 0XC is WM_SETTEXT