Jump to content

Setting cursor


Recommended Posts

Is there a way to set the cursor at the end of a block of text QUICKLY? Currently what I'm doing is getting the line count of the control, then sending the down key by that amount....which is the slow part....then sending the END key. Just looking for a much faster way because the sending the DOWN key can take very long depending on the amount of lines.

Link to comment
Share on other sites

  • Moderators

Is there a way to set the cursor at the end of a block of text QUICKLY? Currently what I'm doing is getting the line count of the control, then sending the down key by that amount....which is the slow part....then sending the END key. Just looking for a much faster way because the sending the DOWN key can take very long depending on the amount of lines.

What type of control is it? If you know that, then you could use a SendMessage method.

Otherwise, you could look at: http://msdn.microsoft.com/en-us/library/ms648394(VS.85).aspx

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.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...