jacexh / pyautoit

Python binding for AutoItX3.dll
MIT License
269 stars 74 forks source link

ToolTip #3

Closed Aareon closed 7 years ago

Aareon commented 9 years ago

Is ToolTip supported currently? I noticed that ControlSend was changed to Control_Send. I attempted this with Tool_Tip with no avail. Thanks.

jacexh commented 9 years ago

all functions names are changed to conform the PEP 8 style guide. eg, ControlSend -> control_send ToolTip now is changed to tooltip

Aareon commented 9 years ago

Code: import autoit

autoit.tooltip("test",0,0) autoit.sleep(5000)

File "autoit.py", line 1, in import autoit File "C:\Users\Aareon Sullivan\Documents\autoit.py", line 3, in autoit.tooltip("test",0,0) AttributeError: 'module' object has no attribute 'tooltip'

jacexh commented 9 years ago

Is the temp file named 'autoit.py'? Rename this file, or a conflict will happen with the PyAutoItpackage.

Aareon commented 9 years ago

OK. Now I've gotten past this error. Now the problem is that no tooltip is displayed at the coordinates 0,0.

jacexh commented 9 years ago

I knew this bug, and I think the problem is from the interface: AU3_ToolTip that provied by AutoItX. It's not my fault :)

Aareon commented 7 years ago

Are you saying this is accessible by using AU3_ToolTip rather than tooltip, or this is 100% broken?

Edit: 2 years later

Edit 2: Come to find out, tooltip is working perfectly. Don't know what was going on then. Closed.