title: How to output this Func in Editbox [AutoIt Gui]
body: <p>I found this piece of code witch  retrieves public info for an IP, but i want this output to be writen in EditBox i have to my Gui.</p>
  
  <p>How this can be done.</p>
  
  <p>this is the code which if you run in SCITE editor puts the info in the console of the SCIITE.
  What i want is to click a button to put the info in an Editbox on my GUI.</p>
  
  <pre><code>    _RetrievePublicInfo()
  
  Func _RetrievePublicInfo($iRefresh = 0)
      ConsoleWrite(@CRLF &amp; "IP: " &amp; BinaryToString(InetRead('http://api.externalip.net/ip/', $iRefresh), 4) &amp; @CRLF &amp; @CRLF &amp; _
      "Hostname: " &amp; BinaryToString(InetRead('http://api.externalip.net/hostname/', $iRefresh), 4) &amp; @CRLF)
  EndFunc
  </code></pre>