Jump to content

_INetGetSource vs. InetGet


puru
 Share

Recommended Posts

Hi,

What is the difference between _INetGetSource vs. InetGet? I found pages below

this I found with google:

http://www.autoitscript.com/autoit3/docs/l...etGetSource.htm

I'm not able to find any page linking to the libfunctions so I don't understand what are libfunctions. I knoe what normal functions are (see below) and I understand the concept of a user defined function. But what is this/are these libfunctions? :">

this is linked from the autoit help/documentation pages:

http://www.autoitscript.com/autoit3/docs/f...ons/InetGet.htm

Also does the _INetGetSource have the reload=1 option? What I'm really trying to find is a function to read the source of a webpage, but not from the local cache and there is no need to display the page, just to get the source as text.

I'm new to coding and AutoIt so explain it to me like i'm a six year old (i'm actually 9 :))

First post.... :P

and with "only" three.... four smileys :D

Edited by puru
Link to comment
Share on other sites

Look at the _INetGetSource() page in the helpfile. I'm sure it will do as you want silently. You may also need to learn some coding to get your result. SmOke is great with 9 year olds so can help you along. :)

which help file u mean? I thought these pages (http://www.autoitscript.com/autoit3/docs/) are the up-to-date version of help files? I also found http://www.dx21.com/SCRIPTING/AUTOIT/V3/index.html and its Library Function Reference does not recognize _INetGetSource

Link to comment
Share on other sites

What I'm really trying to find is a function to read the source of a webpage, but not from the local cache and there is no need to display the page, just to get the source as text.

Then use _InetGetSource(), as it's not using the IE control, but rather some Windows

API calls (from wininet.dll) to retrieve the content of a page, and it sets the flag

"INTERNET_FLAG_RELOAD" internally (see Inet.au3), so the file will allways be

retrieved from the server and not from the cache.

All your other questions will be answered in the help file.

Cheers

Kurt

Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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...