Sign in to follow this  
Followers 0
Yury

How Get Control Tip ?

5 posts in this topic

#1 ·  Posted (edited)

I can set Control Tip, using

GUICtrlSetTip ( controlid, tiptext )

But How Get Control Tip ?

Edited by Yury

Share this post


Link to post
Share on other sites



Yury

But How Get Control Tip ?

You can, if you create a ToolTip window. For example see this UDF :)

Share this post


Link to post
Share on other sites

Thank You!

But this not solve my problem.

I want GET text of tip from Button external program.

Share this post


Link to post
Share on other sites

Thank You!

But this not solve my problem.

I want GET text of tip from Button external program.

You can find a list of all tooltips using

$wl = WinList("[class:tooltips_class32]")

If you know the position of the button you are interested in then maybe you can decide which tool tip is for the button.

Then you might be able to read the text with WInGetText.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

I made it:

$wl = WinList("[class:tooltips_class32]")
$Rez = ""
For $I=1 To $wl[0][0]
    $Rez &= $I & @CRLF
    $Rez &= WinGetTitle($wl[$I][1]) & @CRLF
    $Rez &= WinGetText($wl[$I][1]) & @CRLF
Next

But I give only:

1


2


...

What I must do?

May be use UDF for ToolTip?

How Use it?

Help, Please !

Share this post


Link to post
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
Sign in to follow this  
Followers 0