while (exists("N0itemsinyou.png")):
    wait("1350970075390.png");
    click(Pattern("1350970094468.png").targetOffset(-5,0));
    wait("Delete-1.png");
    click("Delete-1.png");
    wait("1350991685687.png");
else:
    print "this is a test";