ozone Posted July 1, 2008 Posted July 1, 2008 I am trying to copy text where some of it might be underlined or strikethrough. Is there a way to detect for this in my script?
Moderators SmOke_N Posted July 1, 2008 Moderators Posted July 1, 2008 I am trying to copy text where some of it might be underlined or strikethrough. Is there a way to detect for this in my script?Such a broad question. We don't even know where you're getting the text from or how.Anyway, look up as much as you can on Rich Edit controls and maybe take a look at the _Word.au3 udf by big_daddy. 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.
ozone Posted July 1, 2008 Author Posted July 1, 2008 Well, generally the clipboard which copied text from MSWord/WordPad. I checked out rich edit but the functions seemed out of my league. So what do you think? Is there a way to detect whether a character in a string of text in the clipboard is underlined, strikethrough, or just normal?
zorphnog Posted July 1, 2008 Posted July 1, 2008 Out of your league or not, the best way is going to be rich edit functions.
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