Jump to content

Recommended Posts

Posted

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.

Posted (edited)

If you mean the very end of all text in a control - try "^{END}"

Edit: 2 slow :-)

Send me to typiiiing class.

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

  • Moderators
Posted

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.

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
  • Recently Browsing   0 members

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