Modify ↓
Opened 7 years ago
Closed 5 years ago
#3694 closed Bug (No Bug)
WinGetSize function missing from AutoItX3_64
| Reported by: | Owned by: | Jon | |
|---|---|---|---|
| Milestone: | Component: | AutoItX | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | AutoItX3_x64, WinGetSize function | Cc: |
Description
I am using AutoItX3_x64.dll (AutoItX3.dll does not load). I tried the WinGetSize function but it raises an Attribute Not Found error. I scanned the dll with DLL Export Viewer and the x_64 does not have the WinGetSize function. (AutoItX3.dll DOES include the function.) It seems as if it was left out of the dll by mistake, I'm assuming.
can you please add it back in? Thanks.
import win32com.client
ai = win32com.client.Dispatch("AutoItX3.Control")
ai.WinGetSize("DLL Export Viewer")
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Users\dave\workspace\client\venv\lib\site-packages\win32com\client\dynamic.py", line 527, in __getattr__
raise AttributeError("%s.%s" % (self._username_, attr))
AttributeError: AutoItX3.Control.WinGetSize
Attachments (0)
Note:
See TracTickets
for help on using tickets.

In fact AutoItX does not implement such function
you must use WinGetPos*() functions