sendmessage
sendmessage copied to clipboard
Cant send keys to admin terminal?
I've been using this alongside task scheduler to write to cmd on a schedule (using a bat script). Had to run the process under the administrators group to use another command, which broke sendmessage as commands are no longer sent to the existing terminal. Is there any way to force sendmessage to an administrator terminal?
Example snippet from bat file:
SendMessage64.exe /windowtitle: "Test Window" /message:WM_CHAR /wparam:116 /1param:1