home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / UDFs3.chm / html / libfunctions / _inetgetsource.htm < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-13  |  2.1 KB  |  69 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4.   <title>Function _INetGetSource</title>
  5.   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6.   <link href="../css/default.css" rel="stylesheet" type="text/css">
  7. </head>
  8.  
  9. <body><script language="javascript">
  10. if (window.name != "content")
  11.     document.write("<center><a href='../../index.html?page=html/libfunctions/_INetGetSource.htm'>show framing</a></center>")
  12. </script>
  13. <h1>Function Reference</h1>
  14. <font size="+1">_INetGetSource</font>
  15. <hr size="2">
  16. <p>Gets the source from an URL without writing a temp file.<br></p>
  17.  
  18. <p class="codeheader">
  19. #include <INet.au3><br>
  20. _INetGetSource ( $s_URL )<br>
  21. </p>
  22. <p> </p>
  23.  
  24. <p><b>Parameters</b></p>
  25. <table border="1" width="100%" cellspacing="0" cellpadding="3" bordercolor="#C0C0C0">
  26.   <tr>
  27.     <td width="15%">$s_URL </td>
  28.     <td width="85%">(The URL of the site.) eg 'www.autoitscript.com'</td>
  29.   </tr>
  30. </table>
  31. <p> </p>
  32.  
  33. <p><b>Return Value</b></p>
  34. <table width="100%">
  35.   <tr>
  36.     <td width="10%" valign="top">Success:</td>
  37.     <td width="90%">Returns the source code.</td>
  38.   </tr>
  39.   <tr>
  40.     <td valign="top">Failure:</td>
  41.     <td>0  and sets @ERROR = 1</td>
  42.   </tr>
  43. </table>
  44. <p> </p>
  45.  
  46. <p><b>Remarks</b></p>
  47. None.<br>
  48. <br>
  49. <p> </p>
  50.  
  51. <p><b>Related</b></p>
  52. <a href="autoit3.chm::/html/functions/inetget.htm">INetGet</a>
  53. <p> </p>
  54.  
  55. <p><b>Example</b></p>
  56. <p class="codebox">
  57. <br>
  58. <span><span class="S11">#include</span><span class="S0"> </span><span class="S7"><INet.au3></span><br>
  59. <span class="S4">ConsoleWrite</span><span class="S8">(</span><span class="S15">_INetGetSource</span><span class="S8">(</span><span class="S7">'www.autoitscript.com'</span><span class="S8">))</span></span><br>
  60. <br><OBJECT id=hhctrl type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" width=58 height=57>
  61. <PARAM name="Command" value="ShortCut">
  62. <PARAM name="Button" value="Text:Open this Script">
  63. <PARAM name="Item1" value=",Examples\HelpFile\_INetGetSource.au3,">
  64. </OBJECT>
  65. <p> </p>
  66.  
  67. </body>
  68. </html>
  69.