Jump to content

Recommended Posts

Posted

I need to capture text lines in a game's text box and process each new line only once without missing any lines. There are three problems.

1: The text scrolls off the 'back end' once the large (1000 lines) window fills up. The oldest lines disappear from the window.

2: Lines are not unique. They can be repeated any number of times and probably will be, by adversaries.

3: Lines can come at any speed, so I cannot simply take the newest line as it could be the same for ten hours or a hundred lines could come at once.

Anyone have any ideas on how to do this logic-wise?

Posted

count the number of lines, then go through them one by one ?

I would, but the number eventually maxes and stays at 1000 and old lines are erased.
  • Moderators
Posted

What game are you attempting this on. Chances are someone has already created a viable solution for your needs.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...