kev51773 Posted April 6, 2022 Posted April 6, 2022 Does anyone have a way to read text from a "Intermediate D3D Window". Specifically a Teams notifcation. I want to use incoming Teams messages to trigger tasks. Here's the output of the window info tool. >>>> Window <<<< Title: Microsoft Teams Notification Class: Chrome_WidgetWin_1 Position: 2252, 1264 Size: 301, 128 Style: 0x14C00000 ExStyle: 0x00000108 Handle: 0x0000000000010386 >>>> Control <<<< Class: Intermediate D3D Window Instance: 1 ClassnameNN: Intermediate D3D Window1 Name: Advanced (Class): [CLASS:Intermediate D3D Window; INSTANCE:1] ID: Text: Position: 0, 0 Size: 301, 128 ControlClick Coords: 171, 39 Style: 0x58000000 ExStyle: 0x00280024 Handle: 0x00000000000103AC >>>> Mouse <<<< Position: 2423, 1303 Cursor ID: 0 Color: 0xAD6532 >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Chrome Legacy Window >>>> Hidden Text <<<<
Earthshine Posted April 6, 2022 Posted April 6, 2022 UIAutomation most likely. Don’t think webdriver will work in this case My resources are limited. You must ask the right questions
Danp2 Posted April 6, 2022 Posted April 6, 2022 There's an API for Teams. Have you checked to see if it allows you to listen for notifications? Latest Webdriver UDF Release Webdriver Wiki FAQs
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