In the past I used SHELLHOOK and HSHELL_REDRAW to monitor when a window changed its title (see signature) but then I thought about using SetWinEventHook() to do the same. Does anyone know of a better way to monitor a particular process for when it changes its title? I am open to better suggestions. #include <WinAPISys.au3>
Global $hEventProc = DllCallbackRegister('_EventProc', 'none', 'ptr;dword;hwnd;long;long;dword;dword')
Global $hEventHook = _WinAPI_SetWinEventHook($EVENT_OBJECT_NAME