DonationCoder.com Software > Post New Requests Here
C++ program problem
heretic06:
luckily its not a graphic, it is text, you can't highlight it, but it is text from a text box
MilesAhead:
As skwire is the mod maybe he can speak to whether we're supposed to circumvent anti-bot code. I'm not sure. I don't know how to do it anyway, off the top of my head.
justice:
ClickOff might already be doing what you want.
MilesAhead:
luckily its not a graphic, it is text, you can't highlight it, but it is text from a text box
-heretic06 (July 16, 2013, 12:49 PM)
--- End quote ---
Have you tried SendMessage API using WM_GETTEXT message to the control? Get the handle of the active control when the box pops up. Send the WM_GETTEXT msg to the control. Then you'll have to pull it apart in sections like first number, operator, second number etc..
Use a window spy to see the controls on the box so you'll know the identifier to use with SendMessage.
If you can get the text then it should be pretty simple to add or subtract after comparing the arithmetic operator to '-' or '+' etc..
In AHK you'd just use ControlGetText()
heretic06:
cheers dude, i'll give it a try, see what i can do
Navigation
[0] Message Index
[*] Previous page
Go to full version