Sign in to follow this  
Followers 0
Nevercom

How to get text from Yahoo! Messenger Window ?

6 posts in this topic

Hi folks,

I was wondering if it's possible to get text from Y! Messenger Window, Actually to monitor new PMs.

I tried "ControlGetText" and "WinGetText" functions, but it didn't work, maybe its because Y! messenger's Control is a custom made Control...!?

So, is there anyway to somehow monitor the Y! Messenger ang get new PMs ?

As a matter of fact, I wanna run functions in AutoIt, when an Special Keyword (PM) is sent to Y! Messenger...

Thank you all.


[left] [/left]

Share this post


Link to post
Share on other sites



Have you tried the AU3Info tool?

any sample code to see what you're trying?


[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks for your quick reply.

Yes, I tried to obtain Control's ID by AU3Info tool, But it didn't detected its ID, so i tried to get info by Other Info that AU3Info tool gave me:

Opt("WinDetectHiddenText", 1)
$var = ControlGetText("[CLASS:ATL:007C07F0]", "", "[CLASS:Internet Explorer_Server; INSTANCE:1]")
MsgBox(0, "Text read was:", $var)

and

$text = WinGetText("[TITLE:Nevercom (mailnevercom); CLASS:Internet Explorer_Server]", "")
MsgBox(0, "Text read was:", $text)

but no progress !

I thought it might be done Using "_WinAPI_SetWindowsHookEx"function, but i have no idea how to use it or even should i use It ?

Thanks in Advance.

Edited by Nevercom

[left] [/left]

Share this post


Link to post
Share on other sites

This is Information that AU3Info tool provided (Summary tab):

>>>> Window <<<<

Title: sunset20b

Class: ATL:007C07F0

Position: 50, 50

Size: 610, 469

Style: 0x16CF0000

ExStyle: 0x00000100

Handle: 0x00140264

>>>> Control <<<<

Class: Internet Explorer_Server

Instance: 1

ClassnameNN: Internet Explorer_Server1

Name:

Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1]

ID:

Text:

Position: -1, 68

Size: 606, 230

ControlClick Coords: 105, 150

Style: 0x56000000

ExStyle: 0x00000000

Handle: 0x000A049C

>>>> Mouse <<<<

Position: 157, 316

Cursor ID: 0

Color: 0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<

Tahoma

8

Send

Call

>>>> Hidden Text <<<<

Yahoo Radial

a99:99:99a

End Call

Decline

Cancel

Hold

Resume

Accept


[left] [/left]

Share this post


Link to post
Share on other sites

>>>> Control <<<<

Class: Internet Explorer_Server

Instance: 1

ClassnameNN: Internet Explorer_Server1

Name:

Advanced (Class): [CLASS:Internet Explorer_Server; INSTANCE:1]

ID:

Text:

Position: -1, 68

Size: 606, 230

ControlClick Coords: 105, 150

Style: 0x56000000

ExStyle: 0x00000000

Handle: 0x000A049C

maybe try IE functions? that is the same type of class information you get from an IE window.

[u]You can download my projects at:[/u] Pulsar Software

Share this post


Link to post
Share on other sites

I just did this. See related.

maybe try IE functions? that is the same type of class information you get from an IE window.

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