Champak Posted August 28, 2008 Share Posted August 28, 2008 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 More sharing options...
AdmiralAlkex Posted August 28, 2008 Share Posted August 28, 2008 CTRL+END = Go to the very last position. SHIFT+END = Select instead of move. Can you guess which one you should use? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
herewasplato Posted August 28, 2008 Share Posted August 28, 2008 (edited) If you mean the very end of all text in a control - try "^{END}" Edit: 2 slow :-) Send me to typiiiing class. Edited August 28, 2008 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 28, 2008 Moderators Share Posted August 28, 2008 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 More sharing options...
Champak Posted August 28, 2008 Author Share Posted August 28, 2008 It's funny, the keyboard is the most basic thing on the computer and I learn at least one new thing abut it every six months or so. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now