Sign in to follow this  
Followers 0
puru

_INetGetSource vs. InetGet

8 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Thought you had to be 13 to post in here :) ? :P


[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

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

Share this post


Link to post
Share on other sites

SmOke is great with 9 year olds so can help you along. :P

:)

[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

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

Share this post


Link to post
Share on other sites

When you install AutoIt 3.2.0.1, then you will find a link to the helpfile in your startmenu. All UDFs including _INetGetSource() are listed in the chm file.

:)

(Yo SmOke, where are you?)

Share this post


Link to post
Share on other sites

(Yo SmOke, where are you?)

:)

[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

#8 ·  Posted (edited)

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 *

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