Sign in to follow this  
Followers 0
Nishant

Search a Text in my Web Page

6 posts in this topic

I want to search a Text in my Web Page. Is this Possible?

My Text is: "YAY! event triggered successfully Saved Document". I want to search this text in my web page, if this exists then My work is successful otherwise there should be some error.

Can u please tell me about that. Is this possible? How?

Thanks

Share this post


Link to post
Share on other sites



#include <IE.au3>
$oIE = _IE_Example ("basic")
$sText = _IEBodyReadText($oIE)
If StringInStr($sText, "language") = "" Then
    MsgBox(1,"test","not found the text language")
Else
    MsgBox(1,"test","found text language")
EndIf

Will help you ;)

Neo


[center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center]

Share this post


Link to post
Share on other sites

Thanks It Works.

Thanks for your Help

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

By the way, is there a way to add a button to the HTML source code which will triger the "Find" function ?

Thanks

Tuk

Edited by Tukata

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