Jump to content

Recommended Posts

Posted

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.

Posted

Use InetGet() to download the source to a file. Then search the file using StringInStr() and then put it in the clip board.

qq

Posted (edited)

Well is there a way for it to get it from the active page instead of the internet because the page I'm wanting changes.

Edited by gamerman2360
Posted (edited)

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

  • 1 month later...
Posted

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)

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
  • Recently Browsing   0 members

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