That's far more difficult than you imagine -- TCC would have to already know either the window title (which is created by Windows, not TCC), or the handle to the parent window that displays the caption. (And many apps have multiple parent windows, so this isn't a reliable means of determining & setting the title.)
Unless you specify /ELEVATED, START uses the CreateProcess API. But CreateProcess doesn't support starting an elevated app, so START has to use a different (and much more limited) API, which does not support (1) setting the title, and (2) returning the PID. And even if START determines the PID, it still cannot reliably determine what window in that process is the main window displaying the title bar.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.