Valuater Posted August 14, 2006 Share Posted August 14, 2006 because I want to use Ron's EncodeIt... i cant use IE.au3 library, however i stole all the pertinant info from ie.au3 for my object create senario...but it errors out to Myerrorhandler() then i tried Inetgetsource().. problem is the URL is required... i dont know what it is when it changes web pages after the initial URL then i tried controlgettext.. kinda like these examples $info = ControlGetText(WinGetText(""), "", "Internet Explorer_Server1"); $handle doesn't work either If StringInStr($o_object.document.body.innerHTML, "what i am looking for") Then MsgBox(0,0,0) If StringInStr(_INetGetSource($URL), "what i am looking for") Then MsgBox(0,0,0) I did note that INetGetSource() uses DllOpen("wininet.dll") is it possible to use the same/similar dll call for getting the current URL ... all i really want is the HTML source, any time i am on that page with IE or Firefox, i can right click and get the source thx Valuater 8) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 14, 2006 Moderators Share Posted August 14, 2006 This worked for me:#include <inet.au3> MsgBox(0, '', _INetGetSource('adwords.google.com/select/Login4')) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Simucal Posted August 14, 2006 Share Posted August 14, 2006 Awww.. smoke, I liked your avatar! AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 14, 2006 Moderators Share Posted August 14, 2006 Awww.. smoke, I liked your avatar!Thanks, my boy picked it out Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
DaleHohm Posted August 14, 2006 Share Posted August 14, 2006 So is $o_object a reference to an InternetExplorer.Application automation object (same as what you get from _IECreate)? - use ObjName is you are uncertain... If so, I would expect $o_object.document.body.innerHTML to have the document body HTML (unless frames are involved). What error are you getting? For testing purposes you might want to include IE.au3 and use _IEErrorHandlerRegister() to get a verbose COM error message if that is what you are getting... Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Valuater Posted August 14, 2006 Author Share Posted August 14, 2006 This worked for me:#include <inet.au3> MsgBox(0, '', _INetGetSource('adwords.google.com/select/Login4')) as i stated above then i tried Inetgetsource().. problem is the URL is required... i dont know what it is when it changes web pages after the initial URL 8) Link to comment Share on other sites More sharing options...
i542 Posted August 14, 2006 Share Posted August 14, 2006 because I want to use Ron's EncodeIt... i cant use IE.au3 library, however i stole all the pertinant info from ie.au3 for my object create senario...but it errors out to Myerrorhandler() then i tried Inetgetsource().. problem is the URL is required... i dont know what it is when it changes web pages after the initial URL then i tried controlgettext.. kinda like these examples $info = ControlGetText(WinGetText(""), "", "Internet Explorer_Server1"); $handle doesn't work either If StringInStr($o_object.document.body.innerHTML, "what i am looking for") Then MsgBox(0,0,0) If StringInStr(_INetGetSource($URL), "what i am looking for") Then MsgBox(0,0,0) I did note that INetGetSource() uses DllOpen("wininet.dll") is it possible to use the same/similar dll call for getting the current URL ... all i really want is the HTML source, any time i am on that page with IE or Firefox, i can right click and get the source thx Valuater 8) Wow... I don't expected Valuater has topics in support! i542 I can do signature me. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 14, 2006 Moderators Share Posted August 14, 2006 as i stated above8)Doh!! Sorry bud. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 14, 2006 Share Posted August 14, 2006 (edited) @Valuater Is this a public website that I could give a shot at? Or is this something that needs to stay private? I feel that without the actual website to work on it would be hard to obtain the proper information for you. We can guess all day. Edit: Spelling of Valuater's name. lol I always go back and forth on that one. JS Edited August 14, 2006 by JSThePatriot AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
Valuater Posted August 14, 2006 Author Share Posted August 14, 2006 (edited) @ValuatorIs this a public website that I could give a shot at? Or is this something that needs to stay private?I feel that without the actual website to work on it would be hard to obtain the proper information for you. We can guess all day.JSthe web site is very public... its the actions that i would like to keep more privatethis is what could help the mostI did note that INetGetSource() uses DllOpen("wininet.dll")is it possible to use the same/similar dll call for getting the current URLfrom the current IE window thx8) Edited August 14, 2006 by Valuater Link to comment Share on other sites More sharing options...
JSThePatriot Posted August 14, 2006 Share Posted August 14, 2006 I know this can be done on the server side, but not positive about client side. I have tried some searching, but to no avail. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
BigDod Posted August 14, 2006 Share Posted August 14, 2006 I navigated to my Ebay signin page and tried this #include <inet.au3> Opt("WinTitleMatchMode", 2) WinActivate("Microsoft Internet Explorer") WinWaitActive("Microsoft Internet Explorer") ControlClick("Microsoft Internet Explorer","","Edit1") send("^{INSERT}") $url=ClipGet() MsgBox(0, '', _INetGetSource($url)) It has probably no use but at least I tried. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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