App.open("QuickTime Player") wait(1) type("n",KeyModifier.CMD+KeyModifier.CTRL) wait() dragDrop(Pattern().targetOffset(0,-28),Location(200,200)) click() wait(1) click(Pattern().targetOffset(56,0))