Эмитировать нажатие мышкой в определенной области экрана средствами питон возможно если можно маленький примерчик:?
Какие модули для этого потребуются
#!/usr/bin/env python
#coding=utf-8
from ctypes import c_int, WINFUNCTYPE, windll
from ctypes.wintypes import*
prototype = WINFUNCTYPE(BOOL, c_int, c_int)
paramflags = (1, 'x', 0), (1, 'y', 0)
SetCursorPos = prototype(("SetCursorPos", windll.user32), paramflags)
prototype = WINFUNCTYPE(None, DWORD, DWORD, DWORD, DWORD, DWORD)
paramflags = ((1, "dwFlags", 0), # flags specifying various motion/click variants
(1, "dx", 0), # horizontal mouse position or position change
(1, "dy", 0), # vertical mouse position or position change
(1, "dwData", 0), # amount of wheel movement
(1, "dwExtraInfo", 0)) # 32 bits of application-defined information
mouse_event = prototype(("mouse_event", windll.user32), paramflags)
MOUSEEVENTF_RIGHTDOWN = 0x00000008
MOUSEEVENTF_RIGHTUP = 0x00000010
SetCursorPos(200, 200)
mouse_event(dwFlags = MOUSEEVENTF_RIGHTDOWN)
mouse_event(dwFlags = MOUSEEVENTF_RIGHTUP)