Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
html text find
#1
Hi,

Is there a way to make macro find a text in specified color/font on a html document ?

Like find any text in red col, or any text in times new roman... etc.

Many thx
#2
Capture that html element with Find Html Element dialog. The color and font should be set in HTML. For example, if you capture the green text below, you will see that Name is EXAMPLE, and Html is <SPAN style="COLOR: green">EXAMPLE</SPAN>. Uncheck Name, check Html, replace html code to <SPAN style="COLOR: green">*, click Test, OK, OK. Then use Html Element Actions dialog to manipulate the element. Of course, not always it is so simple or possible. Sometimes HTML that sets color is in some other element, and you need to navigate to it by clicking < button one or several times.

EXAMPLE
#3
Hi

Html document was just an examle. What i ment is how to find any text with specified color in html, word doc etc
#4
There is no single method. In Word, for example, probably can be used interfaces declared in Word type library. In most other cases it is impossible at all. Unless you want to find text as image.
#5
Is it going to be possible in future version of quickmacros?


Attached Files Image(s)
       
#6
No.


Forum Jump:


Users browsing this thread: 1 Guest(s)