JohnNash Posted January 19, 2017 Share Posted January 19, 2017 I am using WinSetTitle to add a word to titles of windows. For some software it works for some it doesn't. Is there anything I can do or consider to make it work ? Link to comment Share on other sites More sharing options...
R0G Posted February 12, 2017 Share Posted February 12, 2017 Are you sure the Window title is not being changed with WinSetTitle? The title that you may think is not changing could be a label and not the Window title. Link to comment Share on other sites More sharing options...
InunoTaishou Posted February 12, 2017 Share Posted February 12, 2017 Try running your script as admin. Depending on the application you're interacting with, you need admin privileges from your script. Link to comment Share on other sites More sharing options...
JohnNash Posted February 13, 2017 Author Share Posted February 13, 2017 On 2/12/2017 at 6:09 AM, R0G said: Are you sure the Window title is not being changed with WinSetTitle? The title that you may think is not changing could be a label and not the Window title. Thanks. The title I request with WinList is not changed... On 2/12/2017 at 5:23 PM, InunoTaishou said: Try running your script as admin. Depending on the application you're interacting with, you need admin privileges from your script. Thanks, I already do that. Link to comment Share on other sites More sharing options...
InunoTaishou Posted February 13, 2017 Share Posted February 13, 2017 Time for some debugging then. What window are you interacting with? Can you get the handle to the window? Link to comment Share on other sites More sharing options...
JohnNash Posted February 14, 2017 Author Share Posted February 14, 2017 16 hours ago, InunoTaishou said: Time for some debugging then. What window are you interacting with? Can you get the handle to the window? Yes I can. As a matter of fact I am using the handle to add to the window title. So I tested it on Notepad and there it works, but not on this 3rd party software. Link to comment Share on other sites More sharing options...
JohnNash Posted February 16, 2017 Author Share Posted February 16, 2017 Update: it is not caused by the software but it rather has to do with user rights etc. When software is located in c:\users\UserA\Desktop\Software I could not change the title, with the tool running from the same location, with the same logged in user, even with adding #RequireAdmin on a different computer I installed the software in : If I install it in c:\Software and the the tool on the desktop of userA, and it works.... So it could be this, or another difference between the computers. I will test some more Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now