Sign in to follow this  
Followers 0
Gnat

Stupid newbie question (I think)

4 posts in this topic

Is there an easy way to make a call to a web page ( in the background ) and read the html output for certain text, then display just that wanted text in a message box?

I am trying to write a script that will retrieve information via WMI from a Windows server. Then I want to use some of that info (serial number and oemstringarray) to look up on HP's website the warranty info (without opening a browser) and then scrape the wanted warranty info out and displaying in a GUI or message box.

Any help would be greatly appreciated...

Share this post


Link to post
Share on other sites



Hi,

try _InetgetSource and then search the string.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

_InetGetSource() + _StringBetween()

Or

_InetGetSource() + StringRegExp()

Or

Look up _IE* functions in the help file, I believe there is an _IEAction or something that has a "visible" option, and I know it can retrieve the html source most of the time.


[center]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.[/center]

Share this post


Link to post
Share on other sites

Thanks for your help...this is working great now!!

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