Automating a Deletion Based on Variable? I think...

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
jfj3rd
Posts: 43
Joined: Thu Dec 17, 2009 5:23 pm
Location: Riverside CA
Contact:

Automating a Deletion Based on Variable? I think...

Post by jfj3rd » Fri Apr 23, 2010 4:56 pm

Hello everyone,

Forgive my topic, I'm simply not sure how to label this post correctly.

I have an active page much like:

http://www.tutoring911.com/states.html

I'm trying to build a FF iMacro to find the Alabama link, and then hit the 'Delete' button to the right of it. The iMacro has to find "Alabama" only and not other links like, "Alabama Summers" or something like that.

Any advice on this one?
--

Warmest Wishes,

John F. Jones III
slamsal
Posts: 96
Joined: Fri Sep 12, 2008 4:39 pm

Re: Automating a Deletion Based on Variable? I think...

Post by slamsal » Fri Apr 23, 2010 5:07 pm

Code: Select all

VERSION BUILD=6600217 RECORDER=FX
TAB T=1
URL GOTO=http://www.tutoring911.com/states.html
TAG POS=1 TYPE=TD ATTR=TXT:Alabama
TAG POS=R1 TYPE=A ATTR=TXT:delete
Keyword is: R1
Sanjiv Lamsal
iMacros Consultant
Duluth, MN USA
sanjivlamsal@hotmail.com
Daniel, Tech Support
Posts: 1483
Joined: Tue Jan 26, 2010 11:35 am

Re: Automating a Deletion Based on Variable? I think...

Post by Daniel, Tech Support » Mon Apr 26, 2010 2:01 pm

Thanks Sanjiv!!

John, here is an article on relative positioning (POS=R1) used in Sanjiv's code:
http://wiki.imacros.net/Data_Extraction ... ositioning

Best regards,
Daniel, iOpus Support
jfj3rd
Posts: 43
Joined: Thu Dec 17, 2009 5:23 pm
Location: Riverside CA
Contact:

Re: Automating a Deletion Based on Variable? I think...

Post by jfj3rd » Mon Apr 26, 2010 4:40 pm

Thanks Sanjiv & Daniel,

I've already been using Relative Position, just didn't grasp the idea of using it to click on a link. Maybe a little data overload.

Either way, you've both been extremely instrumental in my ability to learn anything. I really appreciate the assistance.

- JJ
--

Warmest Wishes,

John F. Jones III
Post Reply