I'm trying to make a simple program that will monitor the chat window of an app and play a sound when a certain string appears. Firstly how would I go about finding the right element?
Using 'Inspect.exe', the only thing I can see that is unique about the chat box is this line under 'How found': hwnd=0x00000000003B1A1A 32bit class="PokerStarsChatClass" style=0x54000000 ex=0x0.
So I assume I need to search for this PokerStarsChatClass somehow. All tutorials I looked for couldn't really help me. Could anyone help?
edit: adding screenshots: (the name of the app is 'pokerstars')
(source: imagefra.me)