Jump to content

Read HTTP in enbeded website


BartW
 Share

Recommended Posts

Hello all.

I am writing a script for to put the time in a system.

The disadvantage is that this goes by means of HTML page.

Now I am already up to that point that the script can log in and go’s to the correct page .

Only now I cannot read the part that I need to fill in the time.

It seems that it is on incorporated browser .

I have made a JPG so it whot be more clear what the problem is.

The green part is what autoit can read.

Red is what autoit can’t read .

Can any one give me a hint of how I can approach that piece.

Thanks in advance

Bart

post-66367-0-95234500-1329922897_thumb.j

Edited by BartW
Link to comment
Share on other sites

You will have to manually identity the tag used to Embed the webpage by using a browser and in that tag they will have the URL. simply use that URL to do what you were trying to do.

E.G.

Posted Image

Edited by Guest
Link to comment
Share on other sites

well i think i don't get it.

i can not naviaget to the link it returs me to the same page.

and the _IEBodyReadHTML( $oIE) needs a object to work.

By the way you can use the following to get the HTML.

#include <Inet.au3>
_INetGetSource($s_URL [, $bString = 'True'])
Edited by Guest
Link to comment
Share on other sites

From the screenshot you posted, and that you said it's a 'very old' machine, the site is probably framed pages. Look at the source code of the main page, and get the URL's in the frameset tags. Load each one separately (just in your browser), and by trial and error, you'll get the one you need. The AutoIt code needed now is the next step..

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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

×
×
  • Create New...