Jump to content

Tooltips, I give up (throwing in the towel)


Recommended Posts

Hello, AutoIt People!

I've about pulled out my hair trying to capture the text of tooltips from an application not created from AutoIt.  I have looked at all the documentation, Google searches, endless tries, failures across the board. 

I've tried...

WinActivate($sTitle)
MouseMove(512, 224, 1) ;over the control
Sleep(3000) ;display tooltip

$hWnd = ControlGetHandle($sTitle, "", 2502)
ConsoleWrite(_GUIToolTip_ToolExists($hWnd) & @lf) ;comes back false

$hTool = WinGetHandle($sTitle) ;handle of window containing control

; how do you get the $iID
$arr = _GUIToolTip_GetToolInfo($hWnd, $hTool, $iID) ;$iID

How do you get the Identifier of the tool?

I'm at a complete loss. 

Thank you.

Cygnus

Link to comment
Share on other sites

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...