Duplicate String Skipping How?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
newnerdy
Posts: 1
Joined: Fri Jul 21, 2017 4:27 pm

Duplicate String Skipping How?

Post by newnerdy » Fri Jul 21, 2017 4:39 pm

I'm running an imacros program..the program is where it finds "Subscribe" it will run the function and will click the Subscribe button. It's running fine. But the problem arises when it Finds 2 "Subscribe" - I want that it click the "Skip" text (TAG POS=2 TYPE=DIV ATTR=TXT:Skip) while it detects 2 "Subscribe" string. - How To? Please help.

Here's the code where I want to implement the condition for skipping (TAG POS=2 TYPE=DIV ATTR=TXT:Skip) if 2 "Subscribe" get detected.

Code: Select all

VERSION BUILD=8601111 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=DIV ATTR=TXT:Subscribe
TAB T=2
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=TXT:SubscribeSubscribedUnsubscribe
TAB T=2
TAB T=1
TAB CLOSEALLOTHERS
Post Reply