worker-automate-hub 0.4.429__py3-none-any.whl → 0.4.431__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,6 +64,7 @@ class RDPConnection:
64
64
  for win in gw.getAllTitles()
65
65
  if "Conexão de Área de Trabalho Remota" in win
66
66
  or "Remote Desktop Connection" in win
67
+ or "Ligação ao ambiente de trabalho remoto" in win
67
68
  ]
68
69
 
69
70
  for titulo in janelas_rdp:
@@ -103,7 +104,11 @@ class RDPConnection:
103
104
  await worker_sleep(10) # Tempo aumentado para garantir abertura
104
105
 
105
106
  console.print("Procurando janela 'Conexão de Área de Trabalho Remota'")
106
- windows = gw.getWindowsWithTitle("Conexão de Área de Trabalho Remota")
107
+ try:
108
+ windows = gw.getWindowsWithTitle("Conexão de Área de Trabalho Remota")
109
+ except:
110
+ windows = gw.getWindowsWithTitle("Ligação ao ambiente de trabalho remoto")
111
+
107
112
  if not windows:
108
113
  logger.warning("Tentando encontrar janela com título em inglês 'Remote Desktop Connection'")
109
114
  windows = gw.getWindowsWithTitle("Remote Desktop Connection")
@@ -2202,7 +2202,12 @@ async def select_documento_type(document_type: str) -> RpaRetornoProcessoDTO:
2202
2202
  "Clique select box, Tipo de documento realizado com sucesso, selecionando o tipo de documento...\n"
2203
2203
  )
2204
2204
  await worker_sleep(4)
2205
- set_combobox("||List", document_type)
2205
+ try:
2206
+ set_combobox("||List", document_type)
2207
+ except Exception as e:
2208
+ console.log("Não foi possivel selecionar o tipo de documento via set combobox, realizando a alteração utilizando pyautogui write")
2209
+ pyautogui.write(document_type)
2210
+
2206
2211
  console.print(
2207
2212
  f"Tipo de documento '{document_type}', selecionado com sucesso...\n"
2208
2213
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: worker-automate-hub
3
- Version: 0.4.429
3
+ Version: 0.4.431
4
4
  Summary: Worker Automate HUB é uma aplicação para automatizar rotinas de RPA nos ambientes Argenta.
5
5
  Author: Joel Paim
6
6
  Requires-Python: >=3.12,<4.0
@@ -30,7 +30,7 @@ worker_automate_hub/models/dto/rpa_sistema_dto.py,sha256=sLkmJei8x6sl-1-IXUKDmYQ
30
30
  worker_automate_hub/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=rf4fW-FaHUl1MS7b03z4cwI3zHfNw8FWxvjvNY3Xn20,28773
33
- worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=Bh0LbRULxW-SrESMtcX1SYnmZLbDI49l5ckYNnNlZCM,9045
33
+ worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=35M7loWb3ee5RXmtl3Oaf5u77VKPAjWWqJbWbajDy9g,9266
34
34
  worker_automate_hub/tasks/jobs/descartes.py,sha256=RIjrZIzkW77NiKeXbxFN9k872cz3fl9cG1m5TJpjmmY,40134
35
35
  worker_automate_hub/tasks/jobs/ecac_estadual_go.py,sha256=aPckQRlRozFS_OK3C9wNdMCmqO6AM4djwqY2uSSaPmo,20687
36
36
  worker_automate_hub/tasks/jobs/ecac_estadual_main.py,sha256=FFpAdtZLO4uelWZooCVpm4JePv_iDt5nwVKrk1ipZJQ,1599
@@ -65,10 +65,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
65
65
  worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
66
66
  worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
67
67
  worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbVlwDl49Y,7972
68
- worker_automate_hub/utils/util.py,sha256=JpRM3ltfGNkzui0RAjUK1FhWT3aWUjt3ljEyQez3Sbw,120156
68
+ worker_automate_hub/utils/util.py,sha256=ouvOcyP5mLtkyRocvhdZ_cy5k2WgM9If-o681gEZTuY,120399
69
69
  worker_automate_hub/utils/utils_nfe_entrada.py,sha256=7ju688sD52y30taGSm5rPMGdQyByUUwveLeKV4ImEiE,28401
70
70
  worker_automate_hub/worker.py,sha256=KDBU3L2kVobndrnN5coRZFTwVmBLKmPJjRv20sCo5Hc,4697
71
- worker_automate_hub-0.4.429.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
72
- worker_automate_hub-0.4.429.dist-info/METADATA,sha256=EHC72UJsPvLQvdYEYAi_cS3py8rpLYDWVE6IDTuifxQ,2895
73
- worker_automate_hub-0.4.429.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
74
- worker_automate_hub-0.4.429.dist-info/RECORD,,
71
+ worker_automate_hub-0.4.431.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
72
+ worker_automate_hub-0.4.431.dist-info/METADATA,sha256=cY-qHYVCmlcYJ475KlCVz77-d8rT0QTq2RTMZSk_WuQ,2895
73
+ worker_automate_hub-0.4.431.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
74
+ worker_automate_hub-0.4.431.dist-info/RECORD,,