dinodod Posted October 15, 2008 Share Posted October 15, 2008 I'm not quite understanding his as my head is in a funk BUT what I am wanting t6o do is say navigate to google.com and put in a query then submit the query and read the results. I am currently using _IENavigate functions and the like but displaying the actions in a GUI (_IECreateEmbedded ). I'm trying to understand if TCPConnect is what I want to use, using TCPSends & Receive or something else? If I use TCPSend & Receive, it looks like I really need to know how to format a HTML string to properly send out the request / get commands??? I'm using lots of functions like _IEImgClick() to click on the buttons and such so is this possible using TCPConnect functions or do I HAVE to use a GUI to display the page? Thanks! -Karl Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
dbzfanatic Posted October 15, 2008 Share Posted October 15, 2008 Why not just open a hidden IE window? Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
dinodod Posted October 15, 2008 Author Share Posted October 15, 2008 Well, I was thinking of the performance of not having to render anything, just read the raw text in a data stream, process it, then send out the commands back to the server. With the app I have now, I can sit back and watch as the pages go by, automated of course. I was hoping to just have my script process the HTM code itself and not deal with the page rendering aspect. Sure would make automating the web a whole lot easier, no? Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
BrettF Posted October 15, 2008 Share Posted October 15, 2008 Have you looked at HTTP.au3? It should be able to get you there quicker than using straight TCP functions... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
dinodod Posted October 15, 2008 Author Share Posted October 15, 2008 Bret, Nope since I haven't heard about that one yet. I'll look around and find it as I don't have it in my Include folder yet Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 Link to comment Share on other sites More sharing options...
goldenix Posted October 15, 2008 Share Posted October 15, 2008 (edited) Im using this, but there is this $oHTTP.Send() error im getting all the time, but give it a try it works most of the time.$oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Open("GET",'http://css.setti.info/servers/list-tf2.php') ; navigate to page $oHTTP.Send() $HTMLSource = $oHTTP.Responsetext ConsoleWrite($HTMLSource & @CRLF) $oHTTP.Open("GET",'http://www.autoitscript.com') ; navigate to page $oHTTP.Send() $HTMLSource = $oHTTP.Responsetext ConsoleWrite($HTMLSource & @CRLF) Edited October 15, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
BrettF Posted October 15, 2008 Share Posted October 15, 2008 http://www.autoitscript.com/forum/index.php?showtopic=77503Cheers,Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
dinodod Posted October 16, 2008 Author Share Posted October 16, 2008 Um, Are you referring me to use these commands instead of the following? I'm starting to get a bit lost as to what would be recommended then. Please advise.HTTP UDF by OverloadUThttp://www.autoitscript.com/forum/index.php?showtopic=77503Cheers,Brett Digital Chaos - Life as we know it today.I'm a Think Tank. Problem is, my tank is empty.The Quieter you are, the more you can HearWhich would you choose - Peace without Freedom or Freedom without Peace?Digital Chaos Macgyver ToolkitCompletely Dynamic MenuSQLIte controlsAD FunctionsEXCEL UDFPC / Software Inventory UDFPC / Software Inventory 2GaFrost's Admin Toolkit - My main competitor :)Virtual SystemsVMWAREMicrosoft Virtual PC 2007 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