Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Autoit go to website and give information

$
0
0

Hello.

 

I'm new to autoit and i need some help please.

 

 

I want to create a script, where, when i click in a button, it will go to a website, copy the information i want, and give me the information in the GUI, without opening the browser.

 

 

So, i create a GUI

 
AutoIt         
#include <MsgBoxConstants.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Kassadin", 266, 92, 460, 286) $Label1 = GUICtrlCreateLabel("Information from website", 32, 32, 84, 17) $Button1 = GUICtrlCreateButton("Generate", 160, 24, 65, 25, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1     $nMsg = GUIGetMsg()     Switch $nMsg         Case $GUI_EVENT_CLOSE             Exit          Case $Button1             GotoWebsite()     EndSwitch WEnd Func Gotowebsite()

The function i want, is that it would go to this website: https://10minutemail.net/

 

And then would copy the random e-mail that generated and change the $Label1 to the random e-mail generated.

But all this, wihtout opening my browser, i know it's possible to get information from a website without actually opening the browser, i already seen scripts like that, please someone help me :)

 

Thank you for your time and i'm sorry for my bad english.

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>