iMacross script delete photos one by one

本小妞迷上赌 提交于 2019-12-02 01:20:46

The problem is with TAG POS=1 ATTR=TXT:Delete this photo because the innerHTML (TXT for iMacros) contains Blank spaces to solve this you have 2 options

#1

replace each blank space with <SP> in your TXT attribute:

TAG POS=1 TYPE=A ATTR=TXT:Delete<SP>This<SP>Photo

#2

enclose your TXT within double-quotes:

TAG POS=1 TYPE=A ATTR=TXT:"Delete This Photo"

Both solutions works, Here's what I have tested

VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=https://www.facebook.com/photo.php?fbid={ID}
TAG POS=1 TYPE=A ATTR=TXT:"Delete This Photo"
WAIT SECONDS=3
TAG POS=1 TYPE=BUTTON ATTR=TXT:Confirm

UPDATE

To delete the photo in Facebook "theater" mode, we need to open the photo permalink then initiate the "theater" mode using TAG POS=1 TYPE=A ATTR=TXT:"Open Photo Viewer"

VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=https://www.facebook.com/photo.php?fbid=162982897217166
TAG POS=1 TYPE=A ATTR=TXT:"Open Photo Viewer"
WAIT SECONDS= 5
TAG POS=1 TYPE=SPAN ATTR=TXT:Options
TAG POS=2 TYPE=SPAN ATTR=TXT:"Delete This Photo"
TAG POS=1 TYPE=BUTTON ATTR=TXT:Confirm

Further Reading:

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!