jeyes56 Posted December 13, 2010 Share Posted December 13, 2010 (edited) hi there, i've searched that autoit can view a webpage through internet. i'm wondering where to find the page source of the website and load it to the autoit program made.. can you guys help me figure it out? i've seen this through google by matt: include <GUIConstants.au3> #include <IE.au3> $GUI = GUICreate("Simple Web Browser", 800, 450) $object = ObjCreate("Shell.Explorer.2") $object_ctrl = GUICtrlCreateObj($object, 16, 10, 780, 400) $url_button = GUICtrlCreateButton("URL", 16, 410, 750, 25, 0) _IENavigate($object, "www.google.com") GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $url_button $URL = Inputbox("Web Browser", "Enter the URL you want to visit.") _IENavigate($Object, $URL) Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd and also, how to download a file. if i change the url to the download link of file (e.g. http://domain.com/1.file) it reads the content of the "1.file" it should download it, how to do that without user consent to download and is automated? thanks in advance. Edited December 13, 2010 by jeyes56 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted December 13, 2010 Share Posted December 13, 2010 Maybe you mean InetGet()/InetRead(), see helpfile .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
jeyes56 Posted December 13, 2010 Author Share Posted December 13, 2010 Maybe you mean InetGet()/InetRead(), see helpfile thanks dude, that's what im looking for.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now