c.haslam Posted February 11, 2009 Share Posted February 11, 2009 (edited) How can I retrieve text which has been selected in SciTe into an AutoIt variable? I have got as far as selecting a line of text using Send("{Home}+{End}") ...chris Edited February 11, 2009 by c.haslam Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard Link to comment Share on other sites More sharing options...
c.haslam Posted February 11, 2009 Author Share Posted February 11, 2009 (edited) I have got part-way to a solution: #include <clipboard.au3> Local $line, $ar Send("{Home}+{End}") Sleep(1000) Send("^C") $line = _ClipBoard_GetData() but this replaces the current line with ETX. ...chris Edited February 11, 2009 by c.haslam Spoiler CDebug Dumps values of variables including arrays and DLL structs, to a GUI, to the Console, and to the Clipboard 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