This would be a little like hsc code but on a more transient basis I have not worked with a set file that disables hot keys , would this disable all we activities not associate with events? Also could not twain have its own set file?
Jonathan Cohn > On Jan 13, 2016, at 10:30 PM, Rod Hutton via Scripting > <[email protected]> wrote: > > Hi, > > So, just to clarify my idea is a global app with two hotkeys, one which is > used to set the window the user wants to be focused when it becomes > unfocused, and the seconf hotkey toggles on and off the automatic refocusing > to that window. > I say that there has to be an automatic refocusing process which takes > place; otherwise, the app is pretty useless; indeed, the user could refocus > to the desired window themselves simply by Alt-tabbing. > And, again to clarify, the hotkey used to select the window which the user > wants refocused must start a timer, giving them time to Alt-tab to it, and > then the app simply stores its window handle; this timer is essential since, > should the user slect a window whose set file has hotkeys disabled, as > k1000.set does, the app can simply store the handle automatically when the > timer elapses. > > Thanks, > > Rod > > -----Original Message----- > From: Scripting > [mailto:[email protected]] On > Behalf Of Rod Hutton via Scripting > Sent: January 13, 2016 10:03 PM > To: 'Curtis Delzer' <[email protected]>; 'Window-Eyes Scripting List' > <[email protected]> > Subject: RE: Scanner utility causes loss of focus > > Hi Curtis, > > Jonathan's idea is right here. > Actually, I have a method in mind whereby one can use a global hotkey which > starts a thirty second timer, giving the user the opportunity to Alt-tab to > the window they wish to have focus. > The beauty of this approach is that it bypasses the need to have hotkeys > enabled in any set file since they are disabled in the Kurzweil set file, > k1000.set. > In addition, a second hotkey will toggle the refocusing behaviour. > This came to me over the course of the day today, and it seems elegant to > me. > Submitting the question here was and is intended for the stimulation it > always provides to app developers. > > Cheers, > > Rod > > -----Original Message----- > From: Scripting > [mailto:[email protected]] On > Behalf Of Curtis Delzer via Scripting > Sent: January 13, 2016 9:18 PM > To: Jonathan C. Cohn <[email protected]>; Window-Eyes Scripting List > <[email protected]> > Subject: Re: Scanner utility causes loss of focus > > the thing is, however, suppose we're running window-eyes, and need to > use the scanner utility, what would happen then? I've had to have my > scanner "print" a document. > At 05:16 PM 1/13/2016, you wrote: >> 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 >> <[email protected]> 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/attachme > nts/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.coh > n%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/curtis10 > 14%40verizon.net. >> 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/attachme > nts/20160113/d0d8c1b3/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/rod_hutto > n%40hotmail.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/rod_hutto > n%40hotmail.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/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
