Jump to content

Area With IE.au3


timmalos
 Share

Recommended Posts

Hello everybody.

Sorry for my bad english.

I have a little problem with the UDF IE.au3

I need to see all the <area> objects.

However the function _IeLinkGetCollection() dosn't match any <area> link.

In This page:(http://www.bison-fute.equipement.gouv.fr/astec_acai/internet//ie1_france.html?langue=fr&evt=1)

They have the pattern:

<area shape="rect" coords="421,259,461,299" href="#" alt="Savoie" title="Savoie" onclick="MM_goToURL('ie1_osiris.html');return document.MM_returnValue" onmouseover="MM_showHideLayers('osiris','','show')" onmouseout="MM_showHideLayers('osiris','','hide')"></area>

How can i get a collection of <area> with the links ? I'm doing a program who write a Macro with IE. For example, when you launch Internet Explorer, click on a link, of enter a password in a form, my program write the Macro who can be executed after, and this macro do everythinf the user has done.

But i have a problem with the <area> links, and in the page i gived you i can't know the action of the user.

I'm sorry for my bad English, but think you a lot for trying to solve my problem.

Tim

Link to comment
Share on other sites

This should give you a list of all AREA tags with the Coords:

#include <IE.au3>
#include <Array.au3>
$oIe = _IECreate("http://www.bison-fute.equipement.gouv.fr/astec_acai/internet//ie1_france.html?langue=fr&evt=1")
$oAreas = _IETagNameGetCollection($oIe,"area")
For $oArea In $oAreas
    Consolewrite("Tagname: " & $oArea.tagname & ", Coords: " & $oArea.coords & @CRLF)
Next
Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

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