mortalic 0 Posted October 4, 2007 I am having the hardest time getting the _IE functions to work. I'm trying to keep it simple and can't even get the frames list here is the html frameset page: CODE<!-- LOGIN_FR.JSP Sets up the frames with login page and a pre login content. --> <html> <head> <script src="edited url" type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-2132717-1"; urchinTracker(); </script> <title>Healthweb eApp</title> </head> <frameset name="APPLOGIN_FRAMESET" id="APPLOGIN_FRAMESET" cols="177,*" frameborder="NO" border="0" framespacing="0"> <frame name="login" id="login" marginheight="0" marginwidth="0" noresize src="/tzg/eservice/login/login.jsp" scrolling="no" > <frame name="main" id="main" scrolling="yes" src="/tzg/eservice/login/disclaimer/prelogin.jsp"> </frameset> </html> #include <IE.au3> $oIE = _IECreate("edited url") $oFrames = _IEFrameGetCollection ($oIE) $iNumFrames = @extended For $i = 0 to ($iNumFrames - 1) $oFrame = _IEFrameGetCollection ($oIE, $i) MsgBox(0, "Frame Info", _IEPropertyGet ($oFrame, "login")) NextoÝ÷ ÚØ^r^Æ¥-²ÚÚm¢ëh~Ø^éi~)^nëHç©ëmx-+,zÚzºè®Æ®¶sbÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôU&÷W'GvWBÂb33cµôU7FGW5ôçfÆEfÇVRçfÆB&÷W'G¢ÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôU&÷W'GvWBÂb33cµôU7FGW5ôçfÆEfÇVRçfÆB&÷W'G¢ÒÒb3c#²RæS2c"ã2ÓW'&÷"g&öÒgVæ7FöâôTg&ÖTvWDö&¤'æÖRÂb33cµôU7FGW5ôçfÆDö&¦V7EG Share this post Link to post Share on other sites
PsaltyDS 41 Posted October 4, 2007 I don't think "login" is a valid property under _IEPropertyGet(). Look at the list in the help file. Did you mean that to be the name of the Frame you are interested in? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
mortalic 0 Posted October 4, 2007 (edited) I don't think "login" is a valid property under _IEPropertyGet(). Look at the list in the help file.Did you mean that to be the name of the Frame you are interested in? holy crap... you are right that's totally my bad. I changed it to locationurl which is what I want. and it's reporting the frames available.Thanks for helping me not be blind! LOLI am trying to then get the form information and enter the username/password. What would the next step look like? Edited October 4, 2007 by mortalic Share this post Link to post Share on other sites
DaleHohm 65 Posted October 4, 2007 Download DebugBar (free) and you'll be amazed at the doors it will open for you and the work it will save... Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curlMSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object modelAutomate input type=file (Related)Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better?IE.au3 issues with Vista - WorkaroundsSciTe 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 Share this post Link to post Share on other sites
mortalic 0 Posted October 4, 2007 Download DebugBar (free) and you'll be amazed at the doors it will open for you and the work it will save...Dalethanks for the tip, I will go do so... Share this post Link to post Share on other sites