do shell script "python -c 'import time,Quartz; time.sleep(1); Quartz.NSEvent.mouseLocation(); Quartz.CGDisplayMoveCursorToPoint(0, (" & (_width / 2 as string) & "," & (_height / 2 as string) & "));mouse_location = Quartz.NSEvent.mouseLocation(); [ time.sleep(0.05) or Quartz.CGEventPost(Quartz.kCGHIDEventTap, Quartz.CGEventCreateMouseEvent(None, mouse_action, mouse_location, Quartz.kCGMouseButtonLeft)) for mouse_action in [ Quartz.kCGEventLeftMouseDown, Quartz.kCGEventLeftMouseUp, Quartz.kCGEventLeftMouseDown, Quartz.kCGEventLeftMouseUp ] ]'"