If you have a handle, you can get a Window object by doing (using VBS): Set wObj = DesktopWindow.Children.Find(handle)
Then you can check wObj's visible status by doing what David suggested and using the Visible property. If you need to know whether or not the window is onscreen, you can check the OnScreenVisibility property. If you need to know if a window is minimized or not, you can check the Status property. Thanks, Aaron -- Aaron Smith Web Development * App Development * Product Support Specialist Ai Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 260-489-3671 * www.aisquared.com To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the Ai Squared Technical Support Team. > -----Original Message----- > From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] > Sent: Monday, April 11, 2016 9:37 AM > To: Aaron Smith <asm...@aisquared.com>; Window-Eyes Scripting List > <scripting@lists.window-eyes.com> > Subject: RE: best way to discover when a window is hidden > > Hi Aaron, > > I can get one, the window may also be going off-screen. > Cheers > Sean. > > -----Original Message----- > From: Aaron Smith [mailto:asm...@aisquared.com] > Sent: 11 April 2016 14:35 > To: Sean Farrow <sean.far...@seanfarrow.co.uk>; Window-Eyes Scripting > List <scripting@lists.window-eyes.com> > Subject: RE: best way to discover when a window is hidden > > Do you have a handle to the window in question? > > Aaron > > -- > Aaron Smith > Web Development * App Development * Product Support Specialist Ai > Squared * 725 Airport North Office Park, Fort Wayne, IN 46825 > 260-489-3671 * www.aisquared.com > > To insure that you receive proper support, please include all past > correspondence (where applicable), and any relevant information pertinent > to your situation when submitting a problem report to the Ai Squared > Technical Support Team. > > > > -----Original Message----- > > From: Scripting [mailto:scripting- > > bounces+asmith=aisquared....@lists.window-eyes.com] On Behalf Of > > Sean Farrow via Scripting > > Sent: Saturday, April 9, 2016 11:25 PM > > To: 'Window-Eyes Scripting List' <scripting@lists.window-eyes.com> > > Subject: best way to discover when a window is hidden > > > > Hi, > > > > What is the best way to discove when awindow tha never gains focus is > > hidden? The application doesn't use MSAA.Any help appreciated. > > Kind regards > > Sean. > > -------------- next part -------------- An HTML attachment was > > scrubbed... > > URL: <http://lists.window-eyes.com/private.cgi/scripting-window- > > eyes.com/attachments/20160410/20053bd2/attachment.htm> > > _______________________________________________ > > Any views or opinions presented in this email are solely those of the > > author and do not necessarily represent those of Ai Squared. > > > > For membership options, visit http://lists.window- > > eyes.com/options.cgi/scripting-window- > > eyes.com/asmith%40aisquared.com. > > For subscription options, visit http://lists.window- > > eyes.com/listinfo.cgi/scripting-window-eyes.com > > List archives can be found at http://lists.window- > > eyes.com/private.cgi/scripting-window-eyes.com > > _______________________________________________ Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ai Squared. For membership options, visit http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com. For subscription options, visit http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com List archives can be found at http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com