sendmessage icon indicating copy to clipboard operation
sendmessage copied to clipboard

Cant send keys to admin terminal?

Open RWRmrfrog opened this issue 2 years ago • 0 comments

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

RWRmrfrog avatar Dec 24 '23 15:12 RWRmrfrog