I would just create a global hot key that puts focus back and then click the appropriate control you could probably even have it only active when twain panel is active.
Jonathan Cohn > On Jan 13, 2016, at 7:58 PM, Rod Hutton via Scripting > <scripting@lists.window-eyes.com> wrote: > > Hi, > > I just thought I'd put out this question to you insightful people before I go > through the effort of writing a Window-Eyes app to address it. > On the Kurzweil list, some users are having the issue of Kurzweil 1000 losing > focus during a scan, making it impossible to control the scan process until > the scan process completes, whereas, normally, you can always interrupt a > scan. > Stephen Baum, from Kurzweil tech support writes: > > The Plustek scanner puts up a calibration dialog at the beginning of a scan, > which takes focus away from Kurzweil 1000. That same dialog disappears later > on in the scan, and focus returns to Kurzweil 1000. It is annoying, and as > I've posted a number of times, I think it is a violation of the TWAIN > specification on the part of Plustek. > > End of quote from Stephen Baum > > Now I know it wouldn't be very difficult to create a Window-Eyes app to > detect the loss of focus and return it to Kurzweil. > However, I thought I'd put the question out to you, that is, is there a way > of preventing focus loss within Windows using any means you may be aware of? > > Thanks, > > Rod > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/attachments/20160114/6ba5c6f1/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/jon.c.cohn%40gmail.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