make script read some text that periodically appears?

Get help with using AutoHotkey and its commands and hotkeys
wryyymuda
Posts: 32
Joined: 21 Sep 2018, 21:43

make script read some text that periodically appears?

26 Sep 2018, 20:45

I need to make my script read some text that is formatted like this, example text, %person% is now %level%!
and this is on discord, don't ask, and it would really help the efficiency of the script if it can read that.
I was thinking that it would like take a picture and compare it to others or read the last 2-3 characters of text but I don't know how to accomplish this.
anbraLT
Posts: 16
Joined: 25 Sep 2017, 01:14

Re: make script read some text that periodically appears?

27 Sep 2018, 02:01

How fast messages pop up ?
You could use timer to check messages every second and compare them.
Getting message into the code is different problem. If you use discord though browser, you could try dig into COM, and find a way to get data from there.
Taking pictures every 1 sec and comparing will load your system heavily, as this is "intense" work to do.
wryyymuda
Posts: 32
Joined: 21 Sep 2018, 21:43

Re: make script read some text that periodically appears?

27 Sep 2018, 15:17

i dont really know what to do here.

Return to “Ask For Help”

Who is online

Users browsing this forum: anhnha, casperharkin, Chunjee, Google [Bot], littlegandhi1199, RubbeH, sobuj53, VibinonAHk, Xeo786 and 39 guests