# pywinauto.mouse
> 跨平臺模塊模擬真實用戶的鼠標事件
>
> `pywinauto.mouse.click(button='left', coords=(0, 0))`
>
> 單擊指定的坐標
>
> `pywinauto.mouse.double_click(button='left', coords=(0, 0))`
>
> 雙擊指定的坐標
>
> `pywinauto.mouse.move(coords=(0, 0))`
>
> 移動鼠標
>
> `pywinauto.mouse.press(button='left', coords=(0, 0))`
>
> 按下鼠標按鈕
>
> `pywinauto.mouse.release(button='left', coords=(0, 0))`
>
> 釋放鼠標按鈕
>
> `pywinauto.mouse.right_click(coords=(0, 0))`
>
> 右鍵單擊指定的坐標
>
> `pywinauto.mouse.scroll(coords=(0, 0), wheel_dist=1)`
>
> 滾動鼠標滾輪
>
> `pywinauto.mouse.wheel_click(coords=(0, 0))`
>
> 鼠標中鍵單擊指定的坐標
- 什么是Pywinauto
- 入門指南
- 如何
- 等待長時間操作
- 遠程執行指南
- 每種不同控制類型可用的方法
- 貢獻者
- 開發筆記
- 待辦項目
- 更新日志
- 基本用戶輸入模塊
- pywinauto.mouse
- pywinauto.keyboard
- 主要用戶模塊
- pywinauto.application
- pywinauto.findbestmatch
- pywinauto.findwindows
- pywinauto.timings
- 特定功能
- pywinauto.clipboard
- pywinauto.win32_hooks
- 控件參考
- pywinauto.base_wrapper
- pywinauto.controls.hwndwrapper
- pywinauto.controls.menuwrapper
- pywinauto.controls.common_controls
- pywinauto.controls.win32_controls
- pywinauto.controls.uiawrapper
- pywinauto.controls.uia_controls
- Pre-supplied Tests
- pywinauto.tests.allcontrols
- pywinauto.tests.asianhotkey
- pywinauto.tests.comboboxdroppedheight
- pywinauto.tests.comparetoreffont
- pywinauto.tests.leadtrailspaces
- pywinauto.tests.miscvalues
- pywinauto.tests.missalignment
- pywinauto.tests.missingextrastring
- pywinauto.tests.overlapping
- pywinauto.tests.repeatedhotkey
- pywinauto.tests.translation
- pywinauto.tests.truncation
- 后端內部實施模塊
- pywinauto.backend
- pywinauto.element_info
- pywinauto.win32_element_info
- pywinauto.uia_element_info
- pywinauto.uia_defines
- 內部模塊
- pywinauto.controlproperties
- pywinauto.handleprops
- pywinauto.xml_helpers
- pywinauto.fuzzydict
- pywinauto.actionlogger
- pywinauto.sysinfo
- pywinauto.remote_memory_block