The title is partially static with an variable suffix. For example \"Window Title {- user_id}\".
How can I get the handle without knowing the exact title?
This CodeProject article describes how to enumerate Top level windows (Based on Win32 API EnumWindows). You can easily modify it to filter on a partial window title: Modify EnumWindowsCallBack.
HTH.