timmalos Posted September 8, 2009 Posted September 8, 2009 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
water Posted September 8, 2009 Posted September 8, 2009 (edited) 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 September 8, 2009 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.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 (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
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