[jawsscripts] Re: UIA and Java Access Bridge for homebased machines usage?

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

indeed! well, guess we will await their wisdom to come eh?
<grin.>


----- Original Message ----- 
From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Wednesday, October 30, 2013 5:07 PM
Subject: [jawsscripts] Re: UIA and Java Access Bridge for homebased machines 
usage?


> Hi Geoff,
>
> I said that I don't know if there is a simple way of finding if a certain 
> program uses Java, but it doesn't mean that it is not possible. :-)
> The Java gurus may know if there is such a way.
>
> --Octavian
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Wednesday, October 30, 2013 4:34 AM
> Subject: [jawsscripts] Re: UIA and Java Access Bridge for homebased 
> machines usage?
>
>
>> HI Octavian.
>>
>> Wow! Thanks much Octavian for all the comprehensive info below on all 
>> these
>> components.
>> Awesome!
>> most Especially the info on programs potentially installing their own
>> proprietary versions of java that they require for maximum operation. 
>> And
>> that needing it's own separate Java Access Bridge Activation for that
>> version! That was certainly brand new information to me.
>> Plus the recommendation to probly enable/activate JAB as a general matter 
>> of
>> course.
>>
>> Thanks also for the knowledge re distinction between JavaScript and Java 
>> per
>> se, and the relevance of whether the java-based app is produced with
>> Swing or SWT GUI libraries.
>>
>> it's a bit sad that there may not be a way of directly discovering the 
>> dev
>> environment of the java-based app, or even whether a particular desktop 
>> app
>> is java-based or not eh.
>>
>> And re XP, yeah I realize it's coming to it's end of life-cycle on april 
>> 20
>> 2014.  I'm gunna move to windows 7 soon...
>>
>> ----- Original Message ----- 
>> From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Tuesday, October 29, 2013 5:21 PM
>> Subject: [jawsscripts] Re: UIA and Java Access Bridge for homebased 
>> machines
>> usage?
>>
>>
>>> As an answer for your first question.... MS will offer security updates
>>> for XP only a few more months, so even though XP is still the best
>>> accessible "modern" OS, almost as accessible as Windows 2000, its end of
>>> life is comming soon, so any effort for it it might not be very helpful.
>>>
>>> Java Access Bridge is helpful only for those who are running desktop
>>> applications created with Swing GUI lib.
>>> From what I've seen, there are not very many apps made in Java for home
>>> users. And some apps made in Java are using the SWT GUI lib, which 
>>> doesn't
>>> need Java Access Bridge because it is accessible out of the box.
>>> With latest versions of Java, Java Access Bridge is installed by 
>>> default,
>>> and it just needs to be activated.
>>>
>>> Java applets are used even seldom on web sites than on desktop apps.
>>>
>>> Javascript and Java are 2 different languages.
>>> Javascript is a scripting language used mainly on web pages. The code of
>>> the programs are embeded on web pages and you can always see the source
>>> code. That code is not executed on server, but on the page visitor's
>>> computer after the page is downloaded by the browser.
>>> Nowadays there are many higher level libraries of Javascript like 
>>> jQuery,
>>> Dojo, YUI, and there are also many Javascript widgets that can be used 
>>> to
>>> create desktop-like controls on web pages. These are usually the things
>>> that made some pages hard accessible if they are not done right. :-)
>>>
>>> Java can be used on web pages as Java applets. They look like a piece of
>>> desktop app embeded in a web page. They can be a little accessible, but
>>> most of the times they are not. Too good that there are no very many web
>>> pages that use Java applets.
>>>
>>> I don't know if for a simple user is simple to find if is using a
>>> Java-based application.
>>>
>>> Normally a Java program is ran by using the command:
>>>
>>> java Program
>>> or
>>> java -jar blabla.jar
>>>
>>> These may be used in a .bat file in order to be easier to use.
>>> But in many cases, especially if the program is for the public, there is 
>>> a
>>> .exe launcher and never knows what it runs it.
>>> So, the best idea, if the user is blind and uses Jaws, is to always
>>> activate Java Access Bridge, in case that sometimes he/she might need 
>>> it.
>>>
>>> Of course, there may be applications that also install their own version
>>> of Java, and in that case there may be more complicated, because Java
>>> Access Bridge should be also installed/activated for that Java
>>> installation.
>>>
>>> --Octavian
>>>
>>> ----- Original Message ----- 
>>> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>> Sent: Tuesday, October 29, 2013 12:09 AM
>>> Subject: [jawsscripts] UIA and Java Access Bridge for homebased machines
>>> usage?
>>>
>>>
>>>> Hi Scripters.
>>>>
>>>> Whilst this is not directly a scripting question, I trust it may be
>>>> permitted up here as so many of us are involved in seeking to provide
>>>> ultimate access and identify barriers which might prevent the same, 
>>>> even
>>>> before specialized scripting is required.
>>>>
>>>> firstly, Sornoel below, mentions:
>>>> 'UIA is available as an add-on package for XP, at least XP SP2 or 
>>>> SP3...'
>>>>
>>>> This was valuable info to hear, as I for one certainly wasn't at all
>>>> aware
>>>> of this, mistakenly under the impression that UIA would only have been
>>>> optimally effective under later versions of windows.
>>>>
>>>> So, as per subject line, I wish to ask for people's thoughts upon the
>>>> following:
>>>>
>>>> 1. Do people think that installing such an Add-on, at this stage of 
>>>> it's
>>>> potential uptake, is as yet worth doing, for any jaws user wanting
>>>> optimal
>>>> general accessibility from their machine?
>>>> or not.
>>>>
>>>> 2. Same question really, re the Java Access Bridge.
>>>> Particularly as regards someone operating a primarily homebased system,
>>>> can
>>>> anyone alert me as to how often they might benefit from installation of
>>>> this
>>>> product?
>>>> I.e. how often Java components might be used, either in internet sites,
>>>> or
>>>> in propriatory applications they might instal?
>>>>
>>>> I'm afraid I'm still a wee bit hazy on the whole distinction between
>>>> Javascript/applets, (which I understand are pretty rampant, and largely
>>>> permeate much modern website development,)
>>>> and plain Java itself.
>>>> (which, again, my so far poorly informed knowledge on this, understands
>>>> to
>>>> be only relevant in stand-alone applications, and not on the internet
>>>> generally?)
>>>> But, again, my grasp of the distinctions is tenuous at best.
>>>>
>>>> 3. And lastly, if the latter is correct, How might someone go about
>>>> determining, whether they are running any applications which might use
>>>> java
>>>> components, and thus whose accessibility/usage, might benefit from, or
>>>> require, the Java Access Bridge add-on to be installed?
>>>>
>>>> If this isn't deemed a sufficiently relevant forum for discussion of 
>>>> such
>>>> topics, then of course, please feel free to reply offList.
>>>> Although I feel the information could be of significant benefit for 
>>>> many
>>>> of
>>>> us up here, to be made more aware of?
>>>>
>>>> Thanks much.
>>>>
>>>> Geoff C.
>>>> ----- Original Message ----- 
>>>> From: "Soronel Haetir" <soronel.haetir@xxxxxxxxx>
>>>> To: <jawsscripts@xxxxxxxxxxxxx>
>>>> Sent: Tuesday, October 29, 2013 2:01 AM
>>>> Subject: [jawsscripts] Re: Event Functions In The JAWS Scripting 
>>>> Language
>>>>
>>>>
>>>>> The vast majority of the events listed mirror winevent codes.
>>>>>
>>>>> The only ones I am uncertain of are KeyPressedEvent, and
>>>>> ProgressBarChangedEvent
>>>>>
>>>>> KeyPressedEvent is easy enough to get notified of through other means,
>>>>> ProgressBarChangedEvent too, probably.
>>>>>
>>>>> UIA is available as an add-on package for XP, at least XP SP2 or SP3
>>>>> (I forget which, and frankly don't care about anything earlier than
>>>>> xpsp3).
>>>>>
>>>>> On 10/28/13, Gavin Grundlingh <g.batworx@xxxxxxxxx> wrote:
>>>>>> AutoIt has 2 methods for registering and freeing callback functions,
>>>>>> DllCallbackRegister and DllCallbackFree. I Created a callback 
>>>>>> function
>>>>>> to
>>>>>> respond to window moving or resizing events, and registered it using
>>>>>> DllCallbackRegister. I'm just trying to find event codes for more of
>>>>>> the
>>>>>> events found in JAWS. The events I'm interested in are:
>>>>>> ActiveItemChangedEvent
>>>>>> FocusChangedEvent
>>>>>> ForegroundWindowChangedEvent
>>>>>> KeyPressedEvent
>>>>>> NewTextEvent
>>>>>> ProgressBarChangedEvent
>>>>>> ValueChangedEvent
>>>>>> WindowActivatedEvent
>>>>>> WindowCreatedEvent
>>>>>> WindowDestroyedEvent
>>>>>> WindowMinMaxEvent
>>>>>>
>>>>>> I would respond to any of these events using UI Automation rather 
>>>>>> than
>>>>>> MSAA,
>>>>>> but I'm not sure if UIA is available on Windows versions as far back 
>>>>>> as
>>>>>> XP,
>>>>>> and I want this HSC port to be as compatible as possible.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Gavin Grundlingh
>>>>>> Primary Phone: +27 (0) 83 713-6191
>>>>>> Secondary Phone: +27 (0) 79 157-2466
>>>>>> Fax: +27 (0) 86 617-5792
>>>>>> Primary Email: g.batworx@xxxxxxxxx
>>>>>> Secondary Email: customtracks@xxxxxxxxxx
>>>>>> Skype: Batworx
>>>>>> Facebook: http://facebook.com/gavin.grundlingh
>>>>>> Twitter: @Batworx
>>>>>>
>>>>>> On 28 Oct 2013, at 1:33 AM, Soronel Haetir <soronel.haetir@xxxxxxxxx>
>>>>>> wrote:
>>>>>>
>>>>>> Some of the jaws events pretty obviously mirror msaa winevents.  In
>>>>>> c/c++ you get notified of those by using SetWinEventHook with a
>>>>>> callback function, but I don't know what functionality of that sort
>>>>>> AutoIT provides.
>>>>>>
>>>>>> MSAA has been pretty much deprecated in favor of UIA, in UIA you get
>>>>>> notified of events through COM objects that you register.  It would
>>>>>> not surprise me at all if AutoIT's support for implementing COM
>>>>>> objects is better than its support for implementing and registering
>>>>>> arbitrary callback functions.
>>>>>>
>>>>>> On 10/27/13, Gavin Grundlingh <g.batworx@xxxxxxxxx> wrote:
>>>>>>> Hi all,
>>>>>>> Does anyone know if any of the JAWS event functions,
>>>>>>> ActiveItemChangedEvent,
>>>>>>> FocusChangedEvent, KeyPressedEvent, etc. were taken from either the
>>>>>>> MSAA
>>>>>>> SDK
>>>>>>> or the Win32 API? I'm looking to write some of these in AutoIt to
>>>>>>> facilitate
>>>>>>> a port of Hot Spot Clicker, but can't find documentation on some of
>>>>>>> the
>>>>>>> events I'm interested in. If anyone could get back to me about this
>>>>>>> either
>>>>>>> on or off list, I'd greatly appreciate it.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Gavin Grundlingh
>>>>>>> Primary Phone: +27 (0) 83 713-6191
>>>>>>> Secondary Phone: +27 (0) 79 157-2466
>>>>>>> Fax: +27 (0) 86 617-5792
>>>>>>> Primary Email: g.batworx@xxxxxxxxx
>>>>>>> Secondary Email: customtracks@xxxxxxxxxx
>>>>>>> Skype: Batworx
>>>>>>> Facebook: http://facebook.com/gavin.grundlingh
>>>>>>> Twitter: @Batworx
>>>>>>>
>>>>>>>
>>>>>>> __________�
>>>>>>>
>>>>>>> View the list's information and change your settings at
>>>>>>> http://www.freelists.org/list/jawsscripts
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Soronel Haetir
>>>>>> soronel.haetir@xxxxxxxxx
>>>>>> __________�
>>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Soronel Haetir
>>>>> soronel.haetir@xxxxxxxxx
>>>>> __________�
>>>>>
>>>>> 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: