Jump to content

navigating web sits without displaying them


dinodod
 Share

Recommended Posts

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

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

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 :P

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

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 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

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 OverloadUT

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...