[jawsscripts] Re: Alternative methods for clicking a button

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 1 Nov 2013 17:22:29 +1100

Thanks for response on this below.
oh BTW to my last, I've worked with a client with JAVA stuff in some of his 
work apps, and flipping off the virtual cursor as in my last, was often the 
only way he could meningfully interact with some of the forms on his page. 
so I'd encourage giving that a goodish whirl.

Regards
Geoff C.
----- Original Message ----- 
From: "John P. Thomas" <johnt@xxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, October 30, 2013 11:23 PM
Subject: [jawsscripts] Re: Alternative methods for clicking a button


> Thanks, that is helpful information.
> John
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Geoff Chapman
> Sent: Monday, October 28, 2013 5:50 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: Alternative methods for clicking a button
>
> He's referring to the Java Access Bridge (JAB) Readable about and
> downloadable here:
> http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136191.html
>
> Do a jaws virtual find for the word Technology, and the below should be
> visible upon your second f3 hit:
>
> Java Access Bridge is a technology that exposes the Java Accessibility API
> in a Microsoft Windows DLL, enabling Java applications and applets that
> implement the Java Accessibility API to be visible to assistive 
> technologies
> on Microsoft Windows systems. Java Accessibility API is part of Java
> Accessibility Utilities, which is a set of utility classes that help
> assistive technologies provide access to GUI toolkits that implement the
> Java Accessibility API.
> ... etc.
>
>
>
>
>
> ----- Original Message -----
> From: "John P. Thomas" <johnt@xxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Tuesday, October 29, 2013 6:58 AM
> Subject: [jawsscripts] Re: Alternative methods for clicking a button
>
>
>> Hi
>>
>> accessible bridge? I didn't find that in the list of add-ons. Should it
>> show
>> up there or somewhere else? I did a quick Google search, but didn't find
>> any
>> helpful information. Is this something that needs to be installed?
>>
>> Thanks
>> John
>>
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Trouble
>> Sent: Monday, October 28, 2013 11:10 AM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: Alternative methods for clicking a button
>>
>> I know you stated you turned java back on but did you enable the
>> accessible
>> bridge also? Without that enabled it still could be a jaws problem not
>> actually seeing a physical button but reporting that there is one. Like
>> having a piece of glass between you and it . You can see it but not touch
>> it. You also stated something about downloads.
>> For any info there do a control + j. It runs them in background sense
>> version 9.
>>
>> At 10:08 AM 10/28/2013, you wrote:
>>>I am using IE10. I haven't tried Google chrome, because other people in
>>>the company have reported that it has problems with this web
>>>application. But maybe I should try it myself.
>>>
>>>John
>>>
>>>
>>>-----Original Message-----
>>>From: jawsscripts-bounce@xxxxxxxxxxxxx
>>>[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John Martyn
>>>Sent: Monday, October 28, 2013 12:22 AM
>>>To: jawsscripts@xxxxxxxxxxxxx
>>>Subject: [jawsscripts] Re: Alternative methods for clicking a button
>>>
>>>What version of IE are you using? IE can behave weird in a lot of
>>>instances that firefox doesn't. Have you tried google chrome?
>>>John
>>>
>>>-----Original Message-----
>>>From: jawsscripts-bounce@xxxxxxxxxxxxx
>>>[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John P. Thomas
>>>Sent: Sunday, October 27, 2013 2:56 PM
>>>To: jawsscripts@xxxxxxxxxxxxx
>>>Subject: [jawsscripts] Re: Alternative methods for clicking a button
>>>
>>>Hi
>>>
>>>I appreciate the suggestions. I need to clarify my previous post and
>>>add some new information.
>>>
>>>First, the ‘save’ button is fully visible to JAWS 14. I can move
>>>the JAWSCursor, InvisibleCursor and the VertualCursor to the button. I
>>>can check the coordinates of the JAWSCursor and the InvisibleCursor for
>>>the ‘save’ button, and they are the same. I have my wife manually
>>>move the mouse to the ‘save’ button and JAWS reported the exact
>>>same cursor location.
>>>
>>>I have tried activating the button with the Enter Key, LeftMouse button
>>>on the numpad, the Left MouseLock button, and the Spacebar, but none of
>>>these will activate the button. I also had my wife try to activate the
>>>button with JAWS loaded and without JAWS loaded, but it will not
>>>respond on my laptop. Everyone else in my company is using IE and is
>>>able to click the ‘save’ button, so it is beginning to sound like
>>>it is something about my computer that is causing the problem.
>>>
>>>I did reactivate JAVA, which I had turned off when I disabled all my
>>>tool bars and add-ins to see if they were causing this problem, but
>>>JAVA restoration didn’t help.
>>>
>>>As I mentioned in my previous post, I am able to activate the
>>>‘save’ button in Firefox. The problem is that Firefox routinely
>>>crashes multiple times during the day, and I need to use IE. I am using
>>>IE10 in Windows 7. I am able to activate buttons on other webpages in
>>>IE10 normally.
>>>
>>>Here is some additional information that might be of use.
>>>
>>>Flexible Web is Enabled (I don’t know what this means) If
>>>IsFlexibleWebEnabled () Then SayString ("flex enabled") Else sayString
>>>("not flex enabled") EndIf
>>>
>>>MSAA is being used. (I don’t know anything about MSAA) If
>>>IsMSAAWindow (GetFocus()) then SayString ("MSAA in use ") else
>>>saystring ("not MSAA") EndIf
>>>
>>>The window where the ‘save’ button is located is not obscured.
>>>If  IsWindowObscured (GetFocus()) then SayString ("window is obscured")
>>>else SayString ("window not obscured") EndIf
>>>
>>>When the JAWSCursor or InvisibleCursor are used, and they point to the
>>>‘save’ button, the button shows that it is contained within the
>>>active window. When the VertualCursor is used, then the same test
>>>reports that the location of the VertualCursor is not in the active
>>>window.
>>>If IsPointInWindow (ThePCCursorWindowHandle, GetCursorCol(),
>>>GetCursorRow ()) == true then SayString ("true this point is in the
>>>active window ") Else SayString ("false the point is not in the  active
>>>window") EndIf
>>>
>>>I don’t know how relevant the following information is, but here it
>>>is for interest.
>>>The X-Y coordinates for the button when the VertualCursor is active is:
>>>1, 115 The X-Y coordinates for the button when either the JAWSCursor or
>>>the InvisibleCursor is used is: 500, 555
>>>
>>>There is one other problem that might be somehow related. I find that
>>>JAWS stopped tracking the standard windows download file notices
>>>sometimes last winter. In other words when I download a file from the
>>>internet and the box pops up to ask if I want to save or run the
>>>program, JAWS no longer automatically finds this box. This problem
>>>happens for me now in JAWS 13 and 14. It used to work fine in JAWS 13.
>>>I only mention this, because it is a strange change that did not happen
>>>in relationship to a JAWS update.
>>>
>>>If you have any other questions or suggestions, please pass them along.
>>>
>>>Thanks,
>>>John
>>>
>>>
>>>-----Original Message-----
>>>From: jawsscripts-bounce@xxxxxxxxxxxxx
>>>[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of The dark count
>>>Sent: Monday, October 21, 2013 1:59 PM
>>>To: jawsscripts@xxxxxxxxxxxxx
>>>Subject: [jawsscripts] Re: Alternative methods for clicking a button
>>>
>>>Make sure Jaba script is enabled in ie. if not.
>>>Buttons or some links don't show up when switched off.
>>>
>>>D C
>>>
>>>On 10/19/2013 3:31 PM, John P. Thomas wrote:
>>> > Hi
>>> >
>>> > I have a button on a web page in Internet
>>> Explorer 10 running under WIN7 that I am unable to activate. I can
>>> click the button without any problem when I use Firefox, but in IE I
>>> cannot activate it with either a LeftMouseClick
>>> (insert+slash) or with the enter key. I tried routing the JAWSCursor
>>> and the InvisibleCursor, and I have tried tethering the JAWSCursor to
>>> follow the VertualCursor, but I can't activate the 'Save' button on
>>> this web based data form.
>>> >
>>> > I have been using Firefox with this
>>> particular web application for my work situation, but I really need to
>>> switch to IE10.
>>> Firefox crashes 2 to 3 times a day, which is a real problem, since it
>>> often locks up my laptop when it crashes and requires a forced
>>> shutdown.
>>> >
>>> > What other approaches could I use to get JAWS
>>> 14 to activate an uncooperative button. By the way, all other buttons
>>> on the page work fine in either IE10 or Firefox.
>>> >
>>> > Thanks,
>>> > John
>>> >
>>> > -----Original Message-----
>>> > From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim
>>> > Snowbarger
>>> > Sent: Saturday, October 19, 2013 5:35 PM
>>> > To: jawsscripts@xxxxxxxxxxxxx
>>> > Subject: [jawsscripts] Re: Virtual Viewer Help
>>> >
>>> > One of the parameters to UserBufferAddText is the name of a function
>>> > that will be executed if you press enter on
>>> the line of text you are adding.
>>> > Supplying that parameter makes it a link.  And, I think you also
>>> > need to supply another parameter which is the name of the link to be
>>> > used if anybody presses jawsKey+f7 while in your buffer.
>>> >
>>> > ----- Original Message -----
>>> > From: "Bob" <temp@xxxxxxxxxxxxxxx>
>>> > To: <jawsscripts@xxxxxxxxxxxxx>
>>> > Sent: Saturday, October 19, 2013 3:10 AM
>>> > Subject: [jawsscripts] Re: Virtual Viewer Help
>>> >
>>> >
>>> > Yeah, didn’t make any difference.
>>> >
>>> > What I found was UserBufferAddText ignores the %KeyFor In the end
>>> > the only way I could get it to work as I wanted was to do something
>> like:
>>> > SayFormattedMessage(OT_USER_BUFFER,
>>> > FormatStringWithEmbeddedFunctions(Message))
>>> >
>>> > Then the message just consisted of a function call like
>>> > <GenerateLink>
>>> >
>>> > Then I had a function GenerateLink() that returned the line
>>> > %KeyFor(CustomClickAtPoint(GlobalVar1, GlobalVar2, GlobalVar3))
>>> >
>>> > A pain in the proverbial but did the trick.
>>> > I used my own click at point script so that I didn’t have to add a
>>> > keystroke to the script so the %KeyFor wasn’t adding unwanted text
>>> > to my output. Also I needed some extra custom
>>> handling for some special circumstances.
>>> >
>>> > So I got there in the end but I wouldn’t have had a clue without
>>> > your help so big thanks John.
>>> >
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of John Martyn
>>> > Sent: 18 October 2013 03:53
>>> > To: jawsscripts@xxxxxxxxxxxxx
>>> > Subject: [jawsscripts] Re: Virtual Viewer Help
>>> >
>>> > Did you clear the user buffer before adding?
>>> > John
>>> >
>>> > -----Original Message-----
>>> > From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bob
>>> > Sent: Thursday, October 17, 2013 9:01 AM
>>> > To: jawsscripts@xxxxxxxxxxxxx
>>> > Subject: [jawsscripts] Re: Virtual Viewer Help
>>> >
>>> > Thanks John
>>> > I have found that UserBufferAddText doesnt replace the % in the way
>>> > that SayFormattedMessage does.
>>> > Also had some fun trying to drop parameters into the function as
>>> > well so I could use the following:
>>> > %KeyFor(ClickAtPoint(iColumn, iRow, Coordsys_Pixels))
>>> >
>>> > Ended up using global variables and bouncing the message through
>>> > FormatStringWithEmbeddedFunctions
>>> >
>>> > I am getting fed up of this application!
>>> >
>>> >
>>> > On 17/10/2013 14:09, John Martyn wrote:
>>> >> The %keyFor() function must tie to the exact script name in the
>>> >> parenthesis. You have to place this line inside a variable and if
>>> >> in a message file JSM, you need the messages and endMessages at the
>>> >> top and bottom. Make sure that the percent sign
>>> isn't right up against the words.
>>> >> John
>>> >> John
>>> >>
>>> >> -----Original Message-----
>>> >> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> >> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bob
>>> >> Sent: Thursday, October 17, 2013 3:50 AM
>>> >> To: jawsscripts@xxxxxxxxxxxxx
>>> >> Subject: [jawsscripts] Re: Virtual Viewer Help
>>> >>
>>> >> Thanks John
>>> >>
>>> >> I still dont seem to be getting this working properly.
>>> >>
>>> >> I have added the message exactly as you had it to my messages
>>> >> section in my header file.
>>> >>
>>> >> When I do UserBufferAddText and then UserBufferActivate it just
>>> >> appears as plain text.
>>> >>
>>> >> What am I doing wrong?
>>> >>
>>> >> Bob
>>> >>
>>> >>> On 16 Oct 2013, at 23:08, John Martyn <johnrobertmartyn@xxxxxxxxx>
>> wrote:
>>> >>>
>>> >>> Yes, use this:
>>> >>> @navigationKeys Navigation Keys
>>> >>> Go to Home Page %KeyFor (HomePage) @@ The key for is the name of
>>> >>> the script that is activated using a link style navigation.
>>> >>> John Martyn
>>> >>>
>>> >>> -----Original Message-----
>>> >>> From: jawsscripts-bounce@xxxxxxxxxxxxx
>>> >>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bob
>>> >>> Sent: Wednesday, October 16, 2013 4:35 AM
>>> >>> To: jawsscripts@xxxxxxxxxxxxx
>>> >>> Subject: [jawsscripts] Virtual Viewer Help
>>> >>>
>>> >>> I have an application that has nearly no keyboard navigation.
>>> >>>
>>> >>> I am hoping to be able to scrape the useful information off each
>>> >>> screen and use the virtual viewer to display this.
>>> >>>
>>> >>> Once this is running I would like to add links to the information
>>> >>> displayed so that the user can input additional information where
>>> >>> required.
>>> >>>
>>> >>> Is it possible to add a link or a button or anything to the
>>> >>> virtual viewer output that will allow me to close the viewer and
>>> >>> trigger a different function in my jaws scripts when it is pressed?
>>> >>>
>>> >>> Thanks
>>> >>>
>>> >>> Bob__________o?=
>>> >>>
>>> >>> 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
>>> >
>>> > __________
>>> >
>>> > View the list's information and change your settings at
>>> > http://www.freelists.org/list/jawsscripts
>>> >
>>> >
>>>
>>>--
>>>Thanks,
>>>
>>>D C
>>>
>>>__________
>>>
>>>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
>
> 

__________�

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: