#   1.
#      import win32api
#   2.
#      import win32con
#   3.
#      from ctypes import windll
#   4.
#      import time
#   5.
#       
#   6.
#      def m_move(x,y):
#   7.
#      windll.user32.SetCursorPos(x,y)
#   8.
#       
#   9.
#      def l_click(x="current", y="current"):
#  10.
#      if x == "current" and y == "current":
#  11.
#      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, 0, 0)
#  12.
#      time.sleep(0.05)
#  13.
#      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, 0, 0)
#  14.
#      else:
#  15.
#      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y)
#  16.
#      time.sleep(0.05)
#  17.
#      win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y)
#  18.
#       
#  19.
#      def r_click(x="current", y="current"):
#  20.
#      if x == "current" and y == "current":
#  21.
#      win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTDOWN, 0, 0)
#  22.
#      time.sleep(0.05)
#  23.
#      win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTUP, 0, 0)
#  24.
#      else:
#  25.
#      win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTDOWN, x, y)
#  26.
#      time.sleep(0.05)
#  27.
#      win32api.mouse_event(win32con.MOUSEEVENTF_RIGHTUP, x, y)
#

##Simulate left mouse button pressed
#win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,0,0,0)
#
##Simulate left mouse button released
#win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,0,0,0)
#win32api.SetCursorPos(int(wm_pX + int(5 * 100)), int(wm_pY))
#win32api.mouse_event(win32con.MOUSEEVENTF_ABSOLUTE,int(65535*x),int(65535*(1.0-y)),0)
