Jump to content

Recommended Posts

Posted

Hi there!

Thank you very much for the help so far to all who had helped me!

And I`m here with another question...

I want to click on an image in a frame page, but I have severeal problems.

When I just start the function it doesn`t work, because the image is in one of the frames and it apeears from time to time(is not always there!) and the source code of the framepage looks like this:

<html>
<script type="text/javascript">
<!--
if (top.frames.length > 0)
{
top.location=self.location;
}
//-->
</script>
 
   <frameset rows="100,*,25">
   <frame name="header" scrolling="no" noresize target="main" src="the link of the first frame">
   <frame name="main" src="<The link of the page between the frames>">
   <frame name="stats" scrolling="no" noresize target="main" src="The link of the second frame">
   <noframes>
   <body>
   <p>This page uses frames, but your browser doesn't support them.</p>
   </body>
   </noframes>
   </frameset>
   </html>

So I can grab the link for one of the frames from the source of the framepage with _FFReadHTML and then cut it with StringBetween, but how can I make the function to search in the source for the image? Is it possible?

I can find it with ImageSearch to get the coordinates and then can use Mouseclick or controlclick to click it, but my question is is it possible with _FFImageclick or other function from FF.au3 library?

Thank you in advance!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...