Extracting TAGX and TAGY

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
el_pablo
Posts: 3
Joined: Mon Nov 24, 2008 11:58 pm

Extracting TAGX and TAGY

Post by el_pablo » Tue Dec 09, 2008 10:46 pm

How can I extract the position of an HTML element? I want to do so, because I have an AJAX issue. The only way to know that if a page finished loading is with the position of a button.

I'm working in c#.

Thanx
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Re: Extracting TAGX and TAGY

Post by Tech Support » Fri Dec 12, 2008 11:32 pm

In the macro please use:

Code: Select all

ADD !EXTRACT {{!TAGX}}
ADD !EXTRACT {{!TAGY}}
In the code please use:

Code: Select all

i = iim1.iimPlay ("macro name")
x =  iim1.iimGetLastExtract (1) 
Y =  iim1.iimGetLastExtract (2) 
Post Reply