Relative Extraction TAG

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.

Moderators: Marcia, iOpus, Hannes, iOpus, Tech Support, Tom, iOpus

Relative Extraction TAG

Postby BrianR on Tue Jul 27, 2010 4:13 am

In Version 6.30 (The last version I had before I purchased version 7) There was a change in logic where The Relative Extraction TAG returns #EANF# if the anchor fails.

Is there a way to turn this on in Version 7?

Thank you,

Brian Rees
BrianR
 
Posts: 126
Joined: Wed Jun 11, 2008 9:13 am

Re: Relative Extraction TAG

Postby Tom, iOpus on Fri Jul 30, 2010 8:06 am

Hello Brian,

You should be aware that there are some changes to relative extraction in iMacros 7 to make it more compatible with iMacros for Firefox:

http://wiki.imacros.net/V7_Relative_positioning

However, #EANF# should still get returned if the anchor fails, as it does in the following demo:

Code: Select all
URL GOTO=http://www.iopus.com/imacros/demo/v6/extract2/     
SET !ERRORIGNORE YES
'Correct:  TAG POS=1 TYPE=DIV ATTR=TXT:MyTable
TAG POS=1 TYPE=DIV ATTR=TXT:MyTableOTHERNAME
TAG POS=R3 TYPE=TD ATTR=TXT:* EXTRACT=TXT
Regards,

Tom, iOpus Support
Tom, iOpus
 
Posts: 445
Joined: Mon May 31, 2010 9:59 am


Return to Scripting and Command Line Interface

Who is online

Users browsing this forum: No registered users and 1 guest