{"id":2748,"date":"2016-09-15T11:33:24","date_gmt":"2016-09-15T11:33:24","guid":{"rendered":"https:\/\/www.mjtnet.com\/blog\/?p=2748"},"modified":"2016-09-15T11:33:24","modified_gmt":"2016-09-15T11:33:24","slug":"finding-window-titles-you-cannot-see","status":"publish","type":"post","link":"https:\/\/www.mjtnet.com\/blog\/2016\/09\/15\/finding-window-titles-you-cannot-see\/","title":{"rendered":"Finding Window Titles You Cannot See"},"content":{"rendered":"<p>Someone emailed today saying they were having problems trying to automate Internet Explorer 11 because it didn&#8217;t seem to have a window title.  <\/p>\n<p>Actually IE11 <strong>does<\/strong> have a window title.  Each tab has a different window title.  But you don&#8217;t see the title in the main title bar of the application.<\/p>\n<p>By default applications show the window title in the title bar.  Hence it&#8217;s name.  But some apps manipulate the appearance of their title bar so that it doesn&#8217;t look like a regular Windows title bar.  Indeed some apps have all borders removed so that you can&#8217;t SEE the title bar.  But in all cases, the window will still have a title (unless it&#8217;s an empty string!).<\/p>\n<p>So if you can&#8217;t see the window title, how do you find out what it is? Well, with <a href=\"http:\/\/www.mjtnet.com\/macro_scheduler.htm\">Macro Scheduler<\/a> there are several ways to find it.  One is with the View System Windows Tool, which shows a list of all the windows currently available on the system, showing their captions and class names.  Another is to use the Code Builders.<\/p>\n<p>Here&#8217;s a video demonstrating these two methods. It also shows how I use a substring window match:<\/p>\n<p><iframe width=640 height=386 frameborder=\"0\" scrolling=\"no\" src=\"\/\/screencast-o-matic.com\/embed?sc=cDQoXTjI81&#038;w=640&#038;v=4\" allowfullscreen=\"true\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Someone emailed today saying they were having problems trying to automate Internet Explorer 11 because it didn&#8217;t seem to have a window title. Actually IE11 does have a window title. Each tab has a different window title. But you don&#8217;t see the title in the main title bar of the application. By default applications show [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2748"}],"collection":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/comments?post=2748"}],"version-history":[{"count":4,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2748\/revisions"}],"predecessor-version":[{"id":2753,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/posts\/2748\/revisions\/2753"}],"wp:attachment":[{"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/media?parent=2748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/categories?post=2748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mjtnet.com\/blog\/wp-json\/wp\/v2\/tags?post=2748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}