How to Send text using the Sendmessage or Postmessage command ?

Ask gaming related questions (AHK v1.1 and older)
ThewarII
Posts: 49
Joined: 01 Oct 2014, 09:33

How to Send text using the Sendmessage or Postmessage command ?

13 Mar 2021, 13:46

How to Send text using the Sendmessage or Postmessage command ?
I only know this code

Code: Select all

SendMessage, 0xC, 0, "New Notepad Title", Edit1, ahk_class Notepad
But I think 0xC should be something else
For example when i use code "Send" then that script in below: (send 1 by 1 text)

Code: Select all

Send,N
...
Send,e
...
Send,w
...
Send,N
...
Send,o
...
Send,t
...
Send,e
...
Send,p
...
Send,a
...
Send,d
...
Send,T
...
Send,i
...
Send,t
...
Send,l
...
Send,e
Because i want it is combo and repeat in game :)

I also not sure about "Edit1" that for what ?
----------
I tried this code

Code: Select all

ControlSend,,{x 5},%WinBnS%
and it worked in game.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 74 guests