Christian Blackburn Posted May 14, 2006 Share Posted May 14, 2006 Hi Gang,From what I can see using both the current non-beta release and 3.1.123, I'm unable to use WiNGetTitle("last") when the title of the window has changed since I first identified it. I assume this is architecturally, because the "last" window isn't being tracked by the window's actual handle, but rather by a combination of Title/Text, the latter of course being more volitaile and error prone. Please take a look at the attached code. Also I can't figure out why it's not detecting the Title of the window when I track it via a handle. Am I referencing the handle incorrectly? $Title_Handle = WinGetTitle($Win_Handle)To run my script/program extract them to the same folder and execute. If you don't trust my VB6.exe, feel free to compile the source or just write your own application that changes it's title from "Original Title" to "New Title" after 5 seconds of visibility and give it the same name. AutoIt Script and VB6 Test ApplicationThanks,Christian Blackburn Christian Blackburn, A+, Network+ Link to comment Share on other sites More sharing options...
Christian Blackburn Posted May 14, 2006 Author Share Posted May 14, 2006 Dear Forum Admin,I can't help but notice that the titles of bugs are automatically title-cased. Please try and find the setting that controls this and disable this. I originally created the title of this bug as WinGetTitle("last") which is clearly not how it wound up. Thanks,Christian BlackburnLooking for my dom Christian Blackburn, A+, Network+ Link to comment Share on other sites More sharing options...
jpm Posted May 14, 2006 Share Posted May 14, 2006 (edited) Dear Forum Admin,I can't help but notice that the titles of bugs are automatically title-cased. Please try and find the setting that controls this and disable this. I originally created the title of this bug as WinGetTitle("last") which is clearly not how it wound up. Thanks,Christian BlackburnLooking for my domI am not sure how you did it but I never get such behavior.I change it as you want. Edited May 14, 2006 by jpm Link to comment Share on other sites More sharing options...
jpm Posted May 14, 2006 Share Posted May 14, 2006 You get 2 errors in your test script WinGetText must be WinGetTitle Link to comment Share on other sites More sharing options...
Christian Blackburn Posted May 15, 2006 Author Share Posted May 15, 2006 (edited) Hi JPM, Thanks for your help, I'm glad this is not a bug, but it is a little embarassing . Would the admin please move this bug to the not a bug folder? Thanks, Christian Blackburn Correspondence Student of the School of Rock Edited May 15, 2006 by Christian Blackburn Christian Blackburn, A+, Network+ 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