Jump to content

Recommended Posts

Posted (edited)

After trying to wait for a Balloon tooltip in the systray and read its text for the last hours without success I decided to ask for help here.

This is what Au3Info tells me about the tooltip:

>>>> Window <<<<
Title:  test has finished uploading.
Class:  tooltips_class32
Position:   591, 670
Size:   324, 85
Style:  0x940000C3
ExStyle:    0x00080088
Handle: 0x0003004A

>>>> Control <<<<
Class:  
Instance:   
ClassnameNN:    
Advanced (Class):   
ID: 
Text:   
Position:   
Size:   
ControlClick Coords:    
Style:  
ExStyle:    
Handle: 0x00010084

>>>> Mouse <<<<
Position:   657, 687
Cursor ID:  2
Color:  0x000000

>>>> StatusBar <<<<

>>>> Visible Text <<<<


>>>> Hidden Text <<<<

I tried (in excerpts):

WinWait() in all possible constellations

#include <WinAPI.au3>
#include <Misc.au3>
_WinAPI_FindWindow("tooltips_class32", "")
$title = WinGetTitle($hWnd)

WinList("[class:tooltips_class32]")

Opt('WinTitleMatchMode', 2)
WinWait("upload")
Opt('WinTitleMatchMode', 1)

Opt("WinTitleMatchMode", 4)
$title = WinGetTitle("classname=tooltips_class32)

But nothing worked so far. If I wait for the window it never triggers and if I check for its name/title it returns no value. I would appreciate any hints or suggestions.

I want to

1) Wait until the Balloon tip appears

2) Read its Text when it appears

Edited by level20peon
Posted

Thanks for the hint. Unfortunately I am not trying to read the tooltip of an AutoIt GUI which I suppose your hint was refering to (Tested without success).

Here's another example (also not detectable). I noticed that the "Title" given back by Au3Info actually is the Text inside the Popup rather than the Title. Maybe this is causing trouble ?

Posted Image

>>>> Window <<<<
Title:  Operation was completed.
Class:  tooltips_class32
Position:   781, 686
Size:   152, 69
Style:  0x940000C3
ExStyle:    0x00080088
Handle: 0x0003003E

>>>> Control <<<<
Class:  
Instance:   
ClassnameNN:    
Advanced (Class):   
ID: 
Text:   
Position:   
Size:   
ControlClick Coords:    
Style:  
ExStyle:    
Handle: 0x0001007C

>>>> Mouse <<<<
Position:   847, 708
Cursor ID:  2
Color:  0x000000

>>>> StatusBar <<<<

>>>> Visible Text <<<<


>>>> Hidden Text <<<<

PS: I tested it on Windows XP SP3 x86, Windows Server 2003 SP2 x86, Windows 7 x64. It's the same behaviour in every case.

  • 3 months later...
Posted

Hi, I am looking for this too. I have been trying to log balloon tips because I use a screen reader and I always miss them since the developers don't feel like having a reread function.

Is there any way I can grab the text from autoit? especially dropbox balloons ;)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...