title: iMacross script delete photos one by one
body: <p>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 click "confirm" button.</p>
  
  <p>this is my script so far :</p>
  
  <pre><code>VERSION BUILD=8820413 RECORDER=FX
  TAB T=1
  SET !ERRORIGNORE YES
  SET !TIMEOUT_PAGE 1
  SET !TIMEOUT_STEP 1
  TAG POS=1 ATTR=TXT:Delete this photo
  WAIT SECONDS=3
  TAG TYPE=INPUT:BUTTON ATTR=NAME:confirm
  WAIT SECONDS=3
  </code></pre>
  
  <p>but it not works and keep appear error :</p>
  
  <pre><code>SyntaxError: wrong format of TAG command, line 6 (Error code: -910)
  </code></pre>
  
  <p>can anyone help?</p>
  
  <pre><code>UPDATE
  </code></pre>
  
  <p>The worked code is here for deleting photos in not theater mode. :</p>
  
  <pre><code>VERSION BUILD=8820413 RECORDER=FX
  TAB T=1
  WAIT SECONDS=3
  TAG POS=1 TYPE=A ATTR=TXT:"Delete this photo"
  WAIT SECONDS=3
  TAG POS=1 TYPE=BUTTON ATTR=TXT:"Confirm"
  WAIT SECONDS=5
  </code></pre>