How to check the status of chat window
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
How to check the status of chat window
how to know the chat window is open or close? Thank you for your reply.
Re: How to check the status of chat window
The bot checks whether the chat window is open before executing RoMScript or sendMacro commands. It does it like this
That returns true if an edit window has focus and false when it doesn't.
Code: Select all
memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
-
- Posts: 94
- Joined: Sat Apr 17, 2010 1:18 pm
Re: How to check the status of chat window
Yes, i just need this.Thank you rock5
Who is online
Users browsing this forum: Bing [Bot] and 5 guests