-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwAuto.nim
39 lines (37 loc) · 1.35 KB
/
wAuto.nim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#====================================================================
#
# wAuto - Windows Automation Module
# Copyright (c) Chen Kai-Hung, Ward
#
#====================================================================
## wAuto is the Windows automation module for nim based on
## `winim <https://github.com/khchen/winim>`_ and
## `wNim <https://github.com/khchen/wNim>`_.
## It contains support to simulate keystrokes and mouse movements, manipulate windows,
## processes, and registry. Some functions are inspired by
## `AutoIt Script <https://www.autoitscript.com>`_.
##
## The getters and setters in wAuto, just like in wNim, can be simplized.
## For example:
##
## .. code-block:: Nim
## assert getPosition(getActiveWindow()) == activeWindow().position
##
## wAuto contains following submodules.
##
## - `common <common.html>`_
## - `window <window.html>`_
## - `mouse <mouse.html>`_
## - `keyboard <keyboard.html>`_
## - `process <process.html>`_
## - `registry <registry.html>`_
## - `misc <misc.html>`_
##
## Modules can be imoprted all in one, or be imported one by one.
## For example:
##
## .. code-block:: Nim
## import wAuto # import all
## import wAuto/window # import window module only
import wAuto/[common, window, mouse, keyboard, process, registry, misc]
export common, window, mouse, keyboard, process, registry, misc