[jawsscripts] Re: Escape key in JAWS scripts

ah. oh well, thanks for trying anywayz doug. an honest man thou art, always
a comforting thing eh. integrity etc.
<grin.>

----- Original Message ----- 
From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, March 19, 2008 11:27 PM
Subject: [jawsscripts] Re: Escape key in JAWS scripts


> FS officially recommends TypeKey over the brace constructs for some
> reason, and has for several years by now.  At least that's what I
> recall.  Unfortunately, I don't seem to recall just where I saw that
> recommendation by now.
>
> On Wed, Mar 19, 2008 at 08:15:23PM +1100, Geoff Chapman wrote:
> doug, I'm curious. why would you recommend the typeKey option over the
> leftRightBraces option please?
> thanks.
>
> geoff c.
> ----- Original Message ----- 
> From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Wednesday, March 19, 2008 5:30 AM
> Subject: [jawsscripts] Re: Escape key in JAWS scripts
>
>
> > I missed some of this thread, but I have a couple of comments:
> >
> > First, PassKeyThrough() probably won't work; it will make the next
> > physically typed key pass through, not the next emulated one.
> >
> > Second, I missed whether you're trying to use {Esc}, {Escape},
> > TypeKey("Esc"), or TypeKey("Escape") to send the Escape key from a
> > script.  I recommend trying the last two, not the first two.  You
> > might also try TypeKey("Alt+F4") if that will close just the dialog
> > and not the whole application.  You might also have success with
> > TypeKey("Alt+Space") pause() typeKey("c") to invoke the system menu's
> > Close option.  There's probably even a Windows message you could send
> > with SendMessage to get the job done, though I don't know it off the
> > top of my head.  If you can find the Close button, you could click it
> > or use its MSAA .accDoDefaultAction to press it, I expect.
> >
> > I hope one of those works in any case. :-)
> >
> > On Tue, Mar 18, 2008 at 02:18:30PM -0400, James Panes wrote:
> > Hi Dennis,
> >
> > Thanks for the suggestion.
> >
> > There must be some anomoly in the way that this particular dialogue
> > processes the escape key. It works for other diolgues within the same
> > application, but not for this one.
> >
> > Some times, you just have to suck it up and do things the hard way.
> >
> > Thanks again.
> >
> > Regards,
> > Jim
> > jimpanes@xxxxxxxxx
> > jimpanes@xxxxxxxxxxxx
> > "Everything is easy when you know how."
> >
> > ----- Original Message ----- 
> > From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Tuesday, March 18, 2008 2:09 PM
> > Subject: [jawsscripts] Re: Escape key in JAWS scripts
> >
> >
> > Use the following line in your script:
> > PassKeyThrough()
> > {Escape}
> > and see what that does.
> >
> > Thanks,
> > Dennis Brown
> > ----- Original Message ----- 
> > From: "James Panes" <jimpanes@xxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Tuesday, March 18, 2008 1:57 PM
> > Subject: [jawsscripts] Re: Escape key in JAWS scripts
> >
> >
> > > Hi David,
> > >
> > > I can close the dialogue box from the keyboard using the escape key.
For
> > > some strange reason, this sequence does not work from a script. I am
> > > baffled.
> > >
> > >
> > > Regards,
> > > Jim
> > > jimpanes@xxxxxxxxx
> > > jimpanes@xxxxxxxxxxxx
> > > "Everything is easy when you know how."
> > >
> > > ----- Original Message ----- 
> > > From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
> > > To: <jawsscripts@xxxxxxxxxxxxx>
> > > Sent: Tuesday, March 18, 2008 1:52 PM
> > > Subject: [jawsscripts] Re: Escape key in JAWS scripts
> > >
> > >
> > > Yes maybe you will.
> > >
> > > The escape will usually close a dialogue if the programmer has
designed
> > > it to be closed in that way.
> > > However, it is quite possible that non standard controls were used or
> > > perhaps the control's properties were not set so that pressing the
> > > escape key would close the dialogue.
> > >
> > > David Farough
> > > Application Accessibility Coordinator/coordonateur de l'accessibilit?
> > > Information Technology Services Directorate /
> > > Direction des services d'information technologiques
> > > Public Service Commission / Commission de la fonction publique
> > > Email / Courriel:  David.Farough@xxxxxxxxxxxxx
> > > Tel. / T?l:    (613) 992-2779
> > >
> > >>>> "James Panes" <jimpanes@xxxxxxxxx> 01:37 pm Tuesday, March 18, 2008
> > >>>>
> > > Hi Robin and Dennis,
> > >
> > > Thanks for your responses. The whole idea of passing the escape key to
> > > the
> > > application is to close an open dialogue. This does not appear to work
> > > from
> > > a script.
> > >
> > > Am I going to have to find the close button and activate it?
> > >
> > > Regards,
> > > Jim
> > > jimpanes@xxxxxxxxx
> > > jimpanes@xxxxxxxxxxxx
> > > "Everything is easy when you know how."
> > >
> > > ----- Original Message ----- 
> > > From: "East, Robin" <Robin.East@xxxxxxxxxxxxx>
> > > To: <jawsscripts@xxxxxxxxxxxxx>
> > > Sent: Tuesday, March 18, 2008 11:07 AM
> > > Subject: [jawsscripts] Re: Escape key in JAWS scripts
> > >
> > >
> > > Sorry, I mis read your post. This was to use the Escape key as opposed
> > > to
> > > "press" it. My apologies. I see Dennis has given the response needed.
> > > Robin
> > >
> > > -----Original Message-----
> > > From: jawsscripts-bounce@xxxxxxxxxxxxx
> > > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx]
> > > Sent: March 18, 2008 09:02
> > > To: jawsscripts@xxxxxxxxxxxxx
> > > Subject: [jawsscripts] Re: Escape key in JAWS scripts
> > >
> > > Hi. It is recommended that you do not use this key. However, if you
> > > must go
> > > to keyboard manager Jaws +8 then go to options. Arrow down to hot
keys.
> > > Here
> > > you will find hot keys that you should really think seriously  about
> > > using.
> > > If you must then  arrow down to the escape key and check it. Tab to
the
> > > ok
> > > button. Now you will be able to use the escape key in a script.
> > >
> > > Again, exercise caution when making scripts attached to these specific
> > > hot
> > > keys.
> > > Robin
> > >
> > > -----Original Message-----
> > > From: jawsscripts-bounce@xxxxxxxxxxxxx
> > > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx]
> > > Sent: March 18, 2008 08:36
> > > To: jawsscripts@xxxxxxxxxxxxx
> > > Subject: [jawsscripts] Escape key in JAWS scripts
> > >
> > > Hi Listers,
> > >
> > > I was just wondering. If I want to have a script hit the "Escape" key,
> > > how
> > > do I do it?
> > >
> > > Regards,
> > > Jim
> > > jimpanes@xxxxxxxxx
> > > jimpanes@xxxxxxxxxxxx
> > > "Everything is easy when you know how."
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > > __________
> > > View the list's information and change your settings at
> > > http://www.freelists.org/list/jawsscripts
> > >
> > >
> >
> > __________
> > View the list's information and change your settings at
> > http://www.freelists.org/list/jawsscripts
> >
> > __________?
> > View the list's information and change your settings at
> > http://www.freelists.org/list/jawsscripts
> >
> > -- 
> > Doug Lee, Senior Accessibility Programmer
> > SSB BART Group
> > mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> > "While they were saying among themselves it cannot be done,
> > it was done." --Helen Keller
> > __________
> > View the list's information and change your settings at
> > http://www.freelists.org/list/jawsscripts
> __________?
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
> -- 
> Doug Lee, Senior Accessibility Programmer
> SSB BART Group
> mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> "While they were saying among themselves it cannot be done,
> it was done." --Helen Keller
> __________
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
__________ 
View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: