Regarding Migrating Jaws 14 scripts from Windows 32-bit This may be a moot point but, Have you verified that Java Access Bridge support is functioning properly with Jaws? I do this with the Java App, SwingSet2. When Java Access Bridge is disabled Jaws does not speak any of the SwingSet controls. When Java Access Bridge is enabled Jaws speaks all of SwingSet controls. Paul Bonarrigo On Monday, October 20, 2014 10:08 PM, FreeLists Mailing List Manager <ecartis@xxxxxxxxxxxxx> wrote: jawsscripts Digest Mon, 20 Oct 2014 Volume: 02 Issue: 206 In This Issue: [jawsscripts] Re: John Martin [jawsscripts] JAWS UIA scripting [jawsscripts] Migrating Jaws 14 scripts from Windows 32-bit [jawsscripts] Re: Migrating Jaws 14 scripts from Windows 32- [jawsscripts] Re: Winclick: was Re: Control Left Mouse Click ---------------------------------------------------------------------- From: John Martyn <johnrobertmartyn@xxxxxxxxx> Date: Mon, 20 Oct 2014 07:18:53 -0600 Subject: [jawsscripts] Re: John Martin I don't really monitor the junk folder but it usually doesn't put things there. Spotify is undergoing a total overhaul since I now have a contact at spotify. The scripts have gone as far as they can go. I'd be happy to give you a refund and some access to other scripts. Spotify updates very quickly and breaks the scripts on a regular basis and it is hard to keep going back to fix it in a sloppy way. I assure you though that spotify will improve with accessibility. You're not alone on this. I am banging my head on the deskk every time they update because it always breaks the scripts. In the following month I will be working with the engineers to get things working better out of the box because scripting just can't make the grade even with the UIA approach. Though I can grab much more info from the program this way, the elements are just plain unreachable. Sorry for the delay I have a million things to keep up with and spotify is high up on the list along with iTunes 12. If you would prefer, the rhapsody 6 scripts are in good working order but require jaws 15. Write me off list and I'll give you a reg key for your frustrations with the scripts. Thanks, John On 10/2/2014 12:50 PM, Andy B. wrote: > I can't get the scripts to work. All I end up getting is the message "please > wait..." > > > -----Original Message----- > From: jawsscripts-bounce@xxxxxxxxxxxxx > [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Homme > Sent: Thursday, October 2, 2014 11:33 AM > To: jawsscripts@xxxxxxxxxxxxx > Subject: [jawsscripts] John Martin > > Hi, > John Martin, if you are on this list, would you please contact me? I paid > for Spotify Blind some time ago, and have contacted you four times trying to > get my key to unlock the scripts. > Jim > > __________� > > 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 > > ------------------------------ From: John Martyn <johnrobertmartyn@xxxxxxxxx> Date: Mon, 20 Oct 2014 07:44:00 -0600 Subject: [jawsscripts] JAWS UIA scripting The UIA approach is much faster and reliable than legacy scripting because of many reasons. If theprogram has custom controls, you can find out the bounding rectangle of the item, focus it, invoke menus on it, and speak text that is normally not visible to OCR. The elements that you can detect is far more than jaws can normally see. You can also change the tab order or put things into lists. I belive I made the google manage scripts source availble in the download, but I'd be happy to share some code that will help in the UIA area. I am building a website dedicated to JAWS scripting so you can get code samples for UIA scripting. I am just really bogged down in work right now so I'll post back within the week for code examples that can make an otherwise completely inaccessible program work. John Martyn On 9/24/2014 3:58 AM, Geoff Chapman wrote: > So to guide this one back on topic John, Since I kinda guided it off, :), > feel like giving us some quick general scripting ideas as to what you were > able to use the new jaws 15 UIA support to accomplish, that would've been > more difficult/impossible with older tools? > > ----- Original Message ----- > From: "Andy B." <sonfire11@xxxxxxxxx> > To: <jawsscripts@xxxxxxxxxxxxx> > Sent: Tuesday, September 23, 2014 1:19 PM > Subject: [jawsscripts] Re: Google music manager now accessible > > >> Google's look-a-like for Spotify if I rmember. >> >> >> -----Original Message----- >> From: jawsscripts-bounce@xxxxxxxxxxxxx >> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kaveinthran >> Pulanthran >> Sent: Monday, September 22, 2014 9:31 PM >> To: jawsscripts@xxxxxxxxxxxxx >> Subject: [jawsscripts] Re: Google music manager now accessible >> >> hi, bwhat is google music manager used for? >> >> On 9/22/14, Dale Leavens <dleavens@xxxxxxx> wrote: >>> And blind people seem to think that a google autonomous vehicle will >>> be of some value to them! >>> >>> Dale Leavens. >>> >>> ----- Original Message ----- >>> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx> >>> To: <jawsscripts@xxxxxxxxxxxxx> >>> Sent: Monday, September 22, 2014 2:09 AM >>> Subject: [jawsscripts] Re: Google music manager now accessible >>> >>> >>>> Wow John. your certainly a very busy beaver Scripter eh! >>>> Thanks for allowing us to check out these scripts. I don't have jaws >>>> 15 myself so can't at this stage. >>>> But, I notice on your site you mentioned the Login screen is totally >>>> inaccessible, to the point of needing sighted assistance to even log in! >>>> Hooly dooly! Is that for real? >>>> In this day and age, with Ray Kirzwiel hanging around google >>>> somewhere and everything, How on earth could Google still, >>>> manufacture an app that had a totally inaccessible login screen to >>>> the point it needed sighted assistance even to initially utilize the >>>> jolly thing? >>>> <sigh>. Microsoft all over again eh. DoubleSigh. >>>> >>>> Any thoughts? >>>> Got any line in to their development cycle on any of their products? >>>> Including their browser online offering, which lacks some very basic >>>> keyboard navigation, like being able to click on the 3 circles >>>> thinggy to the right of the currently playing song, in order to >>>> actually be taken to the google play store to buy it? even that is >>>> not accessible from the keyboard! >>>> crazy crazy people! >>>> Nor, by the way, is the Play button, to preview tunes on the Google >>>> play store directly. The buy button for each tune is a >>>> normal/accessible button, but, the preview/play button is not, and >>>> only appears apparently upon mouse hovering over the name of the tune >>>> you wish to preview. >>>> just crazy short-sightedness! I've started a case with them about >>>> this browser-based Music all Access service anywayz, and hope they'll >>>> do something in their next release, as I'm impressed with it >>>> functionally compared to the others, in that it allows unlimited skips >>>> per hour. >>>> Great >>>> for tooling through stuff fast when looking for particular things. >>>> >>>> Correct me if I'm wrong on this John, but, in case anyone else upon >>>> the back of John's announcement, wishes to dive into trying the >>>> Google offering of the associated music subscription service, Google >>>> play music all Access, - >>>> >>>> a >>>> lovely short marketing name for it eh, - I'm told by google last >>>> week, that, unlike apparently in Microsoft's latest music >>>> subscription offering, (which by the way only works under windows >>>> 8/8.1 apparently,) The google play music all access thing, even with >>>> google music manager, won't let you download any of the subscription >>>> music, i.e. stuff that you haven't actually purchased, to >>>> organize/play when offline, on your PC . But, only on your android >>>> or iDevice or tablet etc. >>>> That absolutely was not clear to me when trying to ascertain this, >>>> from their promotional stuff online, which appears of course as if it >>>> will do everything you could possibly want, and more! rah rah rah! >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "John Martyn" <johnrobertmartyn@xxxxxxxxx> >>>> To: "The Jaws for Windows support list." <jfw@xxxxxxxxxxxxxxxxx>; >>>> <blindtunesbeta@xxxxxxxxxxxxx>; <spotifyblindbeta@xxxxxxxxxxxxx>; >>>> <jawsscripts@xxxxxxxxxxxxx> >>>> Sent: Saturday, September 20, 2014 4:02 AM >>>> Subject: [jawsscripts] Google music manager now accessible >>>> >>>> >>>>> Hi all, >>>>> I just completed the scripts for the Google music manager. The >>>>> scripts are free. If you want to manage all your music in the cloud >>>>> and have your itunes stuff there, you can download the scripts at >>>>> www.DoItBlind.com Enjoy! >>>>> John Martyn >>>>> __________ >>>> . >>>>> 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 > > ------------------------------ From: "Bruce Alsup" <balsup@xxxxxxxx> Subject: [jawsscripts] Migrating Jaws 14 scripts from Windows 32-bit to 64 bit Date: Mon, 20 Oct 2014 19:01:36 -0400 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello to all those interested in and adept at Jaws scripting and programming for screen readers in general. I have experienced an issue trying to upgrade from Windows 32-bit to Windows 64-bit that has me stuck and am hoping some smart folks can help. Any comments and suggestions you make will be heartily appreciated. Just so you know, the jobs of 7 people are at stake. ISSUE: Using Jaws For Windows version 14.0.9006, we have custom scripts for a proprietary Java-based 32-bit application that work in Windows Enterprise 32-bit, but will not work in Windows Enterprise 64-bit. We are using the default voice Eloquence in all environments. BACKGROUND: The custom JFW scripts were created using JFW 13.0.303 on a Windows Enterprise 32-bit machine. The scripts were tested extensively and all worked as expected. The compiled binary file (.jsb) was loaded into JFW 14.0.9006 when the update was installed. In the 32-bit OS, the custom scripts worked as expected. These custom scripts were built to support QIK, a Java-based 32-bit application. Java Access Bridge was installed using steps from both Freedom Scientific and Oracle support sites. We have tested the Windows 32-bit installation on several machines and all of the custom scripts function as expected. Java Access Bridge was also installed on the 64-bit, per the instructions provided by Oracle. We have checked to ensure the appropriate .dlls are in the WOW64 AND WIN32 directories. We are currently migrating to Windows Enterprise 64-bit operating environment. After installing JFW 14.0.9006 x64, the custom .jsb was added to the shared files directory in the same manner used on the 32-bit machine. The customization did not work in the 64-bit environment. Specifically at issue are the Java table functions: NavigateJavaTable (int UnitMovement) and Function ActiveItemChangedEvent (handle curHwnd, int curObjectId, int curChildId, handle prevHwnd, int prevObjectId, int prevChildId). The default functions for JFW 13.0.303 was used to build the custom script that supplied additional instructions for the QIK application. Again, these scripts function properly in the 32-bit environment.. TECHNICAL INFORMATION: Windows Enterprise 32-bit Environment (Jaws custom scripts work well in this environment) Java version jre1.6.0_21 (required for our version of Qik) Java Access Bridge version 2.0.2 JFW 14.0.9006 32-bit Windows Enterprise 64-bit Environment (Jaws custom scripts DO NOT work in this environment) Java version jre1.6.0_21 (required for our version of Qik) Java Access Bridge version JFW 14.0.9006 64-bit Bruce Alsup Rehab Engineer OSET, Inc. Applying Technology to Mitigate Blindness and Visual Impairment Phone: (904)219-4799 Website: <http://oset.com/> http://oset.com/ ------------------------------ From: "Dennis Brown" <DennisTBrown@xxxxxxxxxxx> Subject: [jawsscripts] Re: Migrating Jaws 14 scripts from Windows 32-bit to 64 Date: Mon, 20 Oct 2014 20:13:13 -0400 Going on the premise that when troubleshooting a problem, no question is too basic, nor too stupid... Not sure if this will help, but did you recompile using the 64bit JAWS? As I said, not sure if it will fix it, but worth a try. Did you try tracer code in the functions that aren't working correctly to see if they are getting called? If so, try tracer code in each condition statement to see if that particular condition is met. Not much, but it is worth a try. Thanks, Dennis Brown ----- Original Message ----- From: "Bruce Alsup" <balsup@xxxxxxxx> To: <program-l@xxxxxxxxxxxxx>; "Jaws Script List" <jawsscripts@xxxxxxxxxxxxx>; "'program-java'" <program-java@xxxxxxxxxxxxx>; <Jawsscriptlang@xxxxxxxxxxxx>; <jawsscripting@xxxxxxxxxxxx> Cc: "Rick J. Bunch " <Rick.Bunch@xxxxxxxx> Sent: Monday, October 20, 2014 7:01 PM Subject: [jawsscripts] Migrating Jaws 14 scripts from Windows 32-bit to 64 bit > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > > Hello to all those interested in and adept at Jaws scripting and > programming > for screen readers in general. I have experienced an issue trying to > upgrade from Windows 32-bit to Windows 64-bit that has me stuck and am > hoping some smart folks can help. Any comments and suggestions you make > will be heartily appreciated. Just so you know, the jobs of 7 people are > at > stake. > > > > ISSUE: Using Jaws For Windows version 14.0.9006, we have custom scripts > for > a proprietary Java-based 32-bit application that work in Windows > Enterprise > 32-bit, but will not work in Windows Enterprise 64-bit. We are using the > default voice Eloquence in all environments. > > > > BACKGROUND: The custom JFW scripts were created using JFW 13.0.303 on a > Windows Enterprise 32-bit machine. The scripts were tested extensively and > all worked as expected. The compiled binary file (.jsb) was loaded into > JFW > 14.0.9006 when the update was installed. In the 32-bit OS, the custom > scripts worked as expected. > > > > These custom scripts were built to support QIK, a Java-based 32-bit > application. Java Access Bridge was installed using steps from both > Freedom > Scientific and Oracle support sites. We have tested the Windows 32-bit > installation on several machines and all of the custom scripts function > as > expected. Java Access Bridge was also installed on the 64-bit, per the > instructions provided by Oracle. We have checked to ensure the > appropriate > .dlls are in the WOW64 AND WIN32 directories. > > > > We are currently migrating to Windows Enterprise 64-bit operating > environment. After installing JFW 14.0.9006 x64, the custom .jsb was > added > to the shared files directory in the same manner used on the 32-bit > machine. > The customization did not work in the 64-bit environment. Specifically at > issue are the Java table functions: NavigateJavaTable (int UnitMovement) > and Function ActiveItemChangedEvent (handle curHwnd, int curObjectId, int > curChildId, handle prevHwnd, int prevObjectId, int prevChildId). The > default functions for JFW 13.0.303 was used to build the custom script > that > supplied additional instructions for the QIK application. Again, these > scripts function properly in the 32-bit environment.. > > > > TECHNICAL INFORMATION: > > Windows Enterprise 32-bit Environment (Jaws custom scripts work well in > this environment) > > Java version jre1.6.0_21 (required for our version of Qik) > > Java Access Bridge version 2.0.2 > > JFW 14.0.9006 32-bit > > > > Windows Enterprise 64-bit Environment (Jaws custom scripts DO NOT work in > this environment) > > Java version jre1.6.0_21 (required for our version of Qik) > > Java Access Bridge version > > JFW 14.0.9006 64-bit > > > > Bruce Alsup > > Rehab Engineer > > OSET, Inc. > > Applying Technology to Mitigate Blindness and Visual Impairment > > Phone: (904)219-4799 > > Website: <http://oset.com/> http://oset.com/ > > > > > > > __________� > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > ------------------------------ Date: Mon, 20 Oct 2014 22:07:24 -0500 From: Jim Bauer <holdsworthfan@xxxxxx> Subject: [jawsscripts] Re: Winclick: was Re: Control Left Mouse Clicks I got this off-list. -------- Original Message -------- Subject: Re: Winclick: was Re: [jawsscripts] Control Left Mouse Clicks Date: Mon, 20 Oct 2014 21:13:35 -0500 From: Jim Snowbarger <Snowman@xxxxxxxxxxxxxxxx> Reply-To: Jim Snowbarger <Snowman@xxxxxxxxxxxxxxxx> To: Jim Bauer <holdsworthfan@xxxxxx> Thanks for this, Jim, and thanks, Doug. I got this to work, but I'm not convinced it is working correctly. My derived code is shown below. The WParam variable contains bits for the modifier keys. Unfortunately, the function does a shift click, or a straight click, strictly based on the physical modifier key, and seems to completely ignore the shift bit in WParam. It doesn't matter if it is set or not. Also, if you don't hover the mouse over the location, no click occurs there. So, the blending of coordinates into the LParam variable seems to have no effect at all. So, at this point, the result is essentially the same as though you took the jaws cursor there and did a LeftMouseButton() call. The situation is a small area inside a large window, that does not have it's own object. It is one big window with a bunch of stuff, and this little bar inside it contains several clickable controls, none of which has it's own MSAA object. I'm not smart enough about UIA yet to know if that would be any different. Mousey code follows. Suggestions welcome. function ClickByMessage(int x, int y) ; parameters: ; x = pixels from left side of window for this control ; y = pixels up from the bottom of the window for this control ; *** local declarations mercifully omitted Let hFocus = GetFocus() SaveCursor() JawsCursor() let msgDown = 0x0201 ; WM_LBUTTONDOWN let msgUp = 0x0202 ; WM_LBUTTONUP Let o = getObjectFromEvent (hFocus,-4,0,0) ; get the boundaries of this rectangle o.accLocation(intref(l),intref(t),intref(w),intref(h), 0) ; put the mouse there MoveTo (l+x, (t+h-y)) ; because the caller's y is referenced to the bottom of the window ; but Windows wants it relative to the top. Let y = h - y Let WParam = 1 ; left button ; note: does not matter whether we add 4 for the shift modifier ; instead, it tracks the physical modifier key Let LParam = MakeLong (x, y) ; also does nothing postMessage (hFocus, msgDown, wParam, lParam) postMessage (hFocus, msgUp, 0, lParam) RestoreCursor() EndFunction ----- Original Message ----- From: "Jim Bauer" <holdsworthfan@xxxxxx> To: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx> Sent: Friday, October 17, 2014 9:48 AM Subject: Winclick: was Re: [jawsscripts] Control Left Mouse Clicks Doug's Winclick module is attached, pulled right out of BX. hth On 10/16/2014 10:07 PM, Jim Snowbarger wrote: > Hey guys, > I have this script that is doing things in response to key combinations > like > control+LeftArrow. Part of the processing for that was to do a left mouse > click at a location. But, since the control key is still down when the > script runs, it is also down when jaws does the leftMouseButton call. > Problem is that the application is sometimes getting a control left click, > instead of a straight left click. > If I wait for the control key to be released first, the interface is > clunky, > but the problem goes away. > Is there a better way to send a mouse click to that window that might > obviate the confusion? > I'm thinkin of a SendMessage or PostMessage call. But, I don't know where > to find what message to send. > Thanks heaps for any help you can give. > > > __________� > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > ------------------------------ End of jawsscripts Digest V2 #206 ********************************* __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts