Hi i am really new here, however AHK has been really handy and friendly to use.
I have a simple question. In the following expression:
ControlGet, hwnd, hwnd, , Excel71, ahk_class XLMAIN
where the Excel71 comes from? I have tried to find it out with the Windows Spy utility, a script to retrieve different values as:
SetTitleMatchMode, RegEx DetectHiddenText, on #+q:: WinGetTitle, Title, A WinGetText, Text, A MsgBox, The active window is "%Title%" text: "%Text%".
But I have no clue where this "Excel71" comes from, I would really like to now how to retrieve that value from my active window and know the value for other programs like Word, PPT, Outlook etc,