Jump to content

Reading files from internetexplorer


Recommended Posts

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

image.png.8562bf0938b772dfc1a7d96a12db573e.png

 

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) image.png.651c77d8bbc52f64e4cbfba148f0549d.png

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

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

Link to comment
Share on other sites

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 by svenjatzu
Link to comment
Share on other sites

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)

 

Link to comment
Share on other sites

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

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

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