Search the Community
Showing results for tags 'frames'.
Found 4 results
Hello, I'm trying to write a script that can go to a specific work related webpage, then grab the html text out of a known recorded comment field. I have a basic understanding of HTML, but I'm confused by the website as when I open up source code I get something called frames/iframes. Not sure what that really is.... Anyways using chrome and opening up source code it made a little more sense, and could trace all content I want falls within what I see as "top/mainFrame (retrieve.do)/notesActionHistoryHistory (iframeComments.jsp)/bcwebapp:8500/oinc" Is there an easy way to make a variable contain all the html text within this frame? Background: Website is on companies intranet, and each project has it's own page. I need a way to go through an excel list of projects, open up the webpage to the respective projects, then grab all the comments for those projects, then paste everything into 1 text file. My idea is to copy the excel list into an array, then use it to go one by one to the different webpages and copy the comments into an array, then paste it all into a text file. I've pretty much got all the pieces figured out, except how to grab the actual html comment data. I can do it manually but who wants to do that... Thanks for any help in advance
Hello there, https://stackoverflow.com/questions/901712/how-to-check-whether-a-checkbox-is-checked-in-jquery I want to check the checkbox in the frame which pops up after choosing "run code snippet" option. ( Internet Explorer one would be prefered ) Can you please please send the right code or some snippet here..
Hi, Having some issues with frames: #include <IE.au3> _IEErrorHandlerRegister() $oIE = _IEAttach("Advanced") Local $oFrames = _IEFrameGetCollection($oIE) Local $iNumFrames = @extended For $i = 0 To ($iNumFrames - 1) Local $oFrame = _IEFrameGetCollection($oIE, $i) MsgBox(0, "Frame Info", _IEPropertyGet($oFrame, "locationurl")) Next Teh above example is mainly taken from the Help file. The website has diabled the toolbar, and I cannot gain access to IE developer tools: I've been trying to get the source or any information from the frames, not getting any errors, but nothing is happening as well. I do get the following Error from _IEErrorHandlerRegister(), does any one have any more indepth knowledge on how I would proceed with this --> COM Error Encountered in test.au3 ----> $IEComErrorScriptline = 2705 ----> $IEComErrorNumberHex = 80070005 ----> $IEComErrorNumber = -2147024891 ----> $IEComErrorWinDescription = Access is denied. ----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0 --> COM Error Encountered in test.au3 ----> $IEComErrorScriptline = 2705 ----> $IEComErrorNumberHex = 80070005 ----> $IEComErrorNumber = -2147024891 ----> $IEComErrorWinDescription = Access is denied. ----> $IEComErrorDescription = ----> $IEComErrorSource = ----> $IEComErrorHelpFile = ----> $IEComErrorHelpContext = 0 ----> $IEComErrorLastDllError = 0
I found some delphi code and try to translate it on autoit source: function CrossDomainFrame(Doc : IHTMLDocument2;nFrame : Integer) : IWebBrowser2; var theContainer : IOLEContainer; Enumerator : IEnumUnknown; nFetched : PLongInt; unknownFrame : IUnknown; begin Result := nil; nFetched := nil; theContainer := Doc as IOleContainer; theContainer.EnumObjects(OLECONTF_EMBEDDINGS, Enumerator); Enumerator.skip(nFrame); Enumerator.next(1, unknownFrame, nFetched); unknownframe.QueryInterface(IID_IWebBrowser2, Result); end; but lack the knowledge, please help I think you want to use ObjCreateInterface and obtain a pointer to IOleContainer