That was admittedly a long shot. :) But I figured the syntax rules for a method call could in theory differ from those of a function call, so I thought it was worth checking. It also means I had no better ideas though... All I can suggest is making sure AccDefaultAction(id) returns the expected result for the same object and id. My suspicion is that it won't. Then make sure your id is really an integer, by using for example o.accDefaultAction(id+0), and see if that changes the results. That problem shouldn't happen if you're not playing fancy games with variants and polymorphic parameters though. On Wed, Jun 17, 2009 at 06:51:04PM -0400, Chad Foster wrote: Eliminating the spaces in the method did not solve the problem. Thoughts? On 6/17/09, Chad Foster <chad.foster@xxxxxxxxxx> wrote: > I'll try that - is JAWS that picky nowadays? Thanks Doug. > > On 6/16/09, Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> wrote: >> See if JAWS doesn't like spaces before the left paren on an object method >> call? >> >> On Tue, Jun 16, 2009 at 07:24:06PM -0400, Chad Foster wrote: >> Does anyone know of a reason for o.AccDoDefaultAction ( ID ) failing? >> It is working in Doug Lee's BX Toolbox, but not in my script code. The >> AccName property is read correctly, the AccRole property is also >> correct, but the AccDoDefaultAction method fails. >> >> >> Thanks, >> >> Chad >> >> >> -- >> Chad Foster >> Access Technology Solutions >> Leveling The Playing Field Through Technology >> http://www.GO-ATS.net >> __________? >> Visit and contribute to The JAWS Script Repository http://jawsscripts.com >> >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> >> -- >> Doug Lee, Senior Accessibility Programmer >> SSB BART Group - Accessibility-on-Demand >> mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com >> "While they were saying among themselves it cannot be done, >> it was done." --Helen Keller >> __________ >> Visit and contribute to The JAWS Script Repository http://jawsscripts.com >> >> View the list's information and change your settings at >> //www.freelists.org/list/jawsscripts >> >> > > > -- > Chad Foster > Access Technology Solutions > Leveling The Playing Field Through Technology > http://www.GO-ATS.net > -- Chad Foster Access Technology Solutions Leveling The Playing Field Through Technology http://www.GO-ATS.net -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:doug.lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller __________ Visit and contribute to The JAWS Script Repository http://jawsscripts.com View the list's information and change your settings at //www.freelists.org/list/jawsscripts