如何使用iMacros和if / else这样的逻辑用于instagram? [英] How to use iMacros with logic like if/else for instagram?

查看:155
本文介绍了如何使用iMacros和if / else这样的逻辑用于instagram?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用iMacros进行Instagram自动化以创建自动关注者。我转到主题标签部分,然后转到最近的部分,我想关注我尚未关注的最新部分中的任何人。

I am using iMacros for instagram automation to create an auto-follower. I go to the hashtag section, then go to most recent, and I want to follow anyone in the "most recent section" that I am not already following.

这是我拥有的:

VERSION BUILD=844 RECORDER=CR
URL GOTO=https://www.instagram.com/p/BRvYjUPjB7m/?tagged=scootershop
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Next
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Next
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
TAG POS=1 TYPE=A ATTR=TXT:Next

但我希望它能做一种如果按钮txt是'follow',然后点击它但如果它说'follow',只需点击Next。

But i want it to do a sort of "if the button txt is 'follow', then click it" but if it says 'following', just click "Next".

我知道iMacros没有内置的if / else语句,但我对此并不陌生,需要一些指导。谢谢!

I am aware iMacros has no built in if/else statement, but I am brand new to this, and need some guidance. Thank you!

推荐答案

你可以尝试这样的事情:

You can try something like this:

URL GOTO=https://www.instagram.com/p/BRvYjUPjB7m/?tagged=scootershop

SET !ERRORIGNORE YES
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
SET !ERRORIGNORE NO
TAG POS=1 TYPE=A ATTR=TXT:Next

SET !ERRORIGNORE YES
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
SET !ERRORIGNORE NO
TAG POS=1 TYPE=A ATTR=TXT:Next

SET !ERRORIGNORE YES
TAG POS=1 TYPE=BUTTON ATTR=TXT:Follow
SET !ERRORIGNORE NO
TAG POS=1 TYPE=A ATTR=TXT:Next

这篇关于如何使用iMacros和if / else这样的逻辑用于instagram?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆