ToyleY Posted December 17, 2007 Posted December 17, 2007 (edited) When you select some text (left mouse click and drag a blue box over text) how do I identify what has been selected?I have seen this ConsoleWrite($oIE.document.selection.createRange.text & @CR)but is there a general purpose one for any selected text (not just in IE)?TaToyleY Edited December 17, 2007 by ToyleY
ToyleY Posted December 17, 2007 Author Posted December 17, 2007 (edited) I think I found something that might work from kalayaan - posted in June 2004$OldClip = ClipGet() ; the original contents of the clipboardSend("^c") ; copy the current highlighted text to clipboard--> do stuff then restore original contents Nice and simple - Edited December 17, 2007 by ToyleY
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