svenjatzu Posted July 31, 2019 Share Posted July 31, 2019 Hi im looking for an sollution to read files from the internetexplorer i already tryed some sollutions but i didnt get it work. following is my case what i cant to handle with Writing to the filds from: (date) and the message: (does not match) works fine. the problems i got are 1: chossing from "gouped by:" its a dropdown where i need to select "user" 2: clicking on "filter" 3: i need to copy the shown results to another list, like .txt eg so that i can go along with them with another script. to 1) someone can help me with an excample for choosing from dropdown? to 2) someone can help me with an excample for choosing from klicking on button? to 3) the value i need is written in line nobr>terminal-xxxxx</nobr> how can i get this line out of there? Link to comment Share on other sites More sharing options...
Nine Posted July 31, 2019 Share Posted July 31, 2019 21 minutes ago, svenjatzu said: to 1) someone can help me with an excample for choosing from dropdown? to 2) someone can help me with an excample for choosing from klicking on button? Fully read the UDF IE.au3 in help file under IE management. There is multiple examples you can run that should give you the basis to start your script. 23 minutes ago, svenjatzu said: the value i need is written in line nobr>terminal-xxxxx</nobr> for this particular case, look at _IETagNameGetCollection and "terminal-xxxxx" is a $oObject.innerText When you have a first script, post in here, we will gladly help you out... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 (edited) 42 minutes ago, Nine said: Fully read the UDF IE.au3 in help file under IE management. There is multiple examples you can run that should give you the basis to start your script. Ok thanks : ) im getting troubles already here XD From Excample: ; Open a browser with the "form" example, get a reference ; to the submit button by name and "click" it. This technique ; of submitting forms is useful because many forms rely on JavaScript ; code and "onClick" events on their submit button making _IEFormSubmit() ; not perform as expected #include <IE.au3> Local $oIE = _IE_Example("form") Local $oSubmit = _IEGetObjByName($oIE, "submitExample") _IEAction($oSubmit, "click") _IELoadWait($oIE) Now the point is the button aint got a input name=submitexcample the button is like this <input id="filterButton" onclick="javascript:doFilter()" type="button" value="Filter"> whatever i try editing in the excample doesnt work. how can i use "input id" or "input value" instead of "input name" ? Edited July 31, 2019 by svenjatzu Link to comment Share on other sites More sharing options...
Danp2 Posted July 31, 2019 Share Posted July 31, 2019 @svenjatzu There's a related function to lookup by ID instead of name. Look up the help file entry for_IEGetObjByName and then look under the "Related" section. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 _IEGetObjById ... also wont work for me am i to stupid? Link to comment Share on other sites More sharing options...
Danp2 Posted July 31, 2019 Share Posted July 31, 2019 @svenjatzu That's not possible to determine with the limited details supplied. 😉 It's possible that something else (such as frames) is causing the command to fail. You haven't shown up the code you tried, and we don't know the website, so it's difficult to assist you further. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Nine Posted July 31, 2019 Share Posted July 31, 2019 You will need to use something around this : #include <IE.au3> Local $oIE = _IECreate ("put your full url here") Local $oSubmit = _IEGetObjById($oIE, "filterButton") _IEAction($oSubmit, "click") _IELoadWait($oIE) svenjatzu 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 19 minutes ago, Danp2 said: @svenjatzu That's not possible to determine with the limited details supplied. 😉 It's possible that something else (such as frames) is causing the command to fail. You haven't shown up the code you tried, and we don't know the website, so it's difficult to assist you further. id like to but you cant axxess this page Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 19 minutes ago, Nine said: You will need to use something around this : #include <IE.au3> Local $oIE = _IECreate ("put your full url here") Local $oSubmit = _IEGetObjById($oIE, "filterButton") _IEAction($oSubmit, "click") _IELoadWait($oIE) fking seriously? and im strying since 2 houres looking for the sollution and its just the little part "filterButton" what crashed my work ? damn thanks alot Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 so last part cumming up, reading the lines from the browser and copy them to a textfile or other sollution Link to comment Share on other sites More sharing options...
svenjatzu Posted July 31, 2019 Author Share Posted July 31, 2019 ill open a new post for just the next part, reading tabel content 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