How do I get this to loop?

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
howzitjohn
Posts: 21
Joined: Thu Nov 09, 2006 12:06 am

How do I get this to loop?

Post by howzitjohn » Fri Apr 06, 2007 9:27 pm

I'm trying to make a loop. Basically what I am trying to do is empty a shopping bag. If there are no more products to remove the loop stops. The number of products can vary from 1-100. What I am currently doing is using this macro and entering the number of times to Repeat Macro but I would like for it to work without any user input.

Code: Select all

VERSION BUILD=5200814 RECORDER=FF
TAB T=1
URL GOTO=http://www.domain.com
TAG POS=1 TYPE=IMG ATTR=ALT:shopping<SP>bag
TAG POS=1 TYPE=B ATTR=TXT:Remove //i would like to loop this til there are no more products to remove.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Wed Apr 18, 2007 9:28 am

Hi,

the iMacros language doesn't contain any conditional statements, for more on this please see our online FAQs:

http://www.iopus.com/imacros/help/faq_c ... ements.htm

In order to do this you would need to carry out the check in a controlling script.

Daniel Kerr
iOpus Support
Post Reply