win32gui.SetForegroundWindow(win32gui.FindWindow('BS2CHINAUI',  'BlueStacks App Player'))
# win32api.SetCursorPos([658, 168]);
x,y=745, 370
win32api.mouse_event(win32con.MOUSEEVENTF_MOVE, x, y);
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN|win32con.MOUSEEVENTF_ABSOLUTE, x, y);
time.sleep(0.05);win32api.mouse_event(win32con.MOUSEEVENTF_MOVE, x, y);
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP|win32con.MOUSEEVENTF_ABSOLUTE, x, y);
win32api.mouse_event(win32con.MOUSEEVENTF_MOVE, x, y);
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN|win32con.MOUSEEVENTF_ABSOLUTE, x, y);
time.sleep(0.05);win32api.mouse_event(win32con.MOUSEEVENTF_MOVE, x, y);
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP|win32con.MOUSEEVENTF_ABSOLUTE, x, y);