Sign in to follow this  
Followers 0
ozone

How do I detect if a char in a string is underlined/strikethrough?

5 posts in this topic

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?

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

the answer is "42" !

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Out of your league or not, the best way is going to be rich edit functions.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0