SlimShady Posted May 29, 2004 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
CyberSlug Posted May 29, 2004 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!
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