Nevercom Posted September 10, 2010 Posted September 10, 2010 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]
maqleod Posted September 10, 2010 Posted September 10, 2010 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
Nevercom Posted September 11, 2010 Author Posted September 11, 2010 (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 September 11, 2010 by Nevercom [left] [/left]
Nevercom Posted September 11, 2010 Author Posted September 11, 2010 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]
maqleod Posted September 11, 2010 Posted September 11, 2010 >>>> 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
mcollard Posted December 1, 2010 Posted December 1, 2010 I just did this. See related. maybe try IE functions? that is the same type of class information you get from an IE window.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now