iMacross script delete photos one by one

后端 未结 1 830
广开言路
广开言路 2021-01-22 13:24

this iMacross script i want to use in facebook. i want to create iMacross script that will click \"Delete this photo\" link, wait a second until a dialog box appear and will cli

1条回答
  •  伪装坚强ぢ
    2021-01-22 13: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 in your TXT attribute:

    TAG POS=1 TYPE=A ATTR=TXT:DeleteThisPhoto
    

    #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:

    • TAG - iMacros Wiki

    0 讨论(0)
提交回复
热议问题