Uma biblioteca para automação de controles GUI com Win32.
Project description
Win Automation
Win Automation é uma biblioteca Python para automação de controles GUI no Windows. Utilizando a API Win32 via PyWin32, a biblioteca fornece funções para interagir com janelas e seus controles de forma programática, seja para obter handles, simular cliques, enviar textos ou listar propriedades dos controles.
Funcionalidades
-
Obter Handle de Controle:
A funçãoget_control_handle_hextenta encontrar o handle de um controle a partir do seuauto_id, com múltiplas tentativas configuráveis e intervalos de espera. -
Simulação de Cliques:
click_buttonexecuta um clique simples (usando a mensagem BM_CLICK).right_clicksimula um clique com o botão direito.
-
Envio de Texto para Controles:
write_textutiliza a mensagem WM_SETTEXT para enviar texto a controles compatíveis.
-
Listagem de Controles:
get_control_propertiesretorna diversas propriedades de cada controle, como texto, classe, dimensões (retângulo), estilos, visibilidade, entre outros.
Requisitos
- Python 3.6 ou superior
- PyWin32 (instalado automaticamente via pip)
Instalação
Depois de publicado no PyPI, você pode instalar a biblioteca com:
pip install win-automation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file win_automation_gui-1.0.0.tar.gz.
File metadata
- Download URL: win_automation_gui-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72d2fafd64f809de4e6b322a681be2f6d21112e5ffbcaaacf0744682ebca3409
|
|
| MD5 |
5e343a812bd94fd5798d131712f2cb6c
|
|
| BLAKE2b-256 |
2c895955639358d9b5318f52d48c7ba71524c13fe11b20efa72a1004b46efbc6
|
File details
Details for the file win_automation_gui-1.0.0-py3-none-any.whl.
File metadata
- Download URL: win_automation_gui-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de5681414805fb61c5c4e8df425270a883a5780f3547932ee70124709f321883
|
|
| MD5 |
cef0c3d0972f19511560f4fdd5dd95f9
|
|
| BLAKE2b-256 |
c48e1536c16e4dcae77181be3392dec26d0d01ebd8782f2ad0ff36be0800a047
|