Jump to content

Getting and Searching for Text


Recommended Posts

I need something to look quickly for a sentence like "This sentence has * characters." in an html file read by IExplorer v6. Just something to look for the text not calculate it or anything. Then copy it to the clipboard.

Maybe "ClipPut(CurrentSelection)" but it says its not a function and i cant get it to select what I want, MouseClick or MouseClickDrag is bad because the sentence may move aound.

Link to comment
Share on other sites

You could maybe use ControlGetText () on your current web browser, IE or Mozilla Firefox I'm guessing, to retrieve the text in address bar. Ofcourse you can type what ever you want in there and it will only go to the page if you hit enter or go or w/e. Which means that you might have the slight chance that the page you use InetGet() on might not be the current page you are viewing.

Edited by Burrup

qq

Link to comment
Share on other sites

  • 1 month later...

COM is in the beta features of AutoIt. You would have to download the beta version.

If the page dynamically updates then all you have to do is call the INetGet() every so often in a loop until you tell it to stop. Something like that.

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...