SlimShady Posted May 29, 2004 Share Posted May 29, 2004 I started using AutoIt Guis. It works nice at the moment. One thing is missing: CTRL+A for selecting everything in a an editbox. So I created a simple function that does this. Put this anywhere in your script. HotKeySet("^a", "SelectAll"); CTRL+A Func SelectAll() Send("^{HOME}") Send("^+{END}") EndFunc Link to comment Share on other sites More sharing options...
CyberSlug Posted May 29, 2004 Share Posted May 29, 2004 If an edit/input control has focus, you can also select text this way: $EM_SETSEL = 0xB1; GuiSendMsg($inputGuiRefNumber, $EM_SETSEL, 0, 99999) 0 to 99999 is the range of characters to select. Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Valik Posted May 29, 2004 Share Posted May 29, 2004 I think that LPARAM of -1 selects all text... Link to comment Share on other sites More sharing options...
SlimShady Posted May 29, 2004 Author Share Posted May 29, 2004 That works too. Thank you. Link to comment Share on other sites More sharing options...
Guest Bullcom Posted June 18, 2004 Share Posted June 18, 2004 How about: Send("{^ a}") Worked for me. 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