Darn I forgot about that issue. The function is JAWS-internal and has no
definition. You can fix it in several ways, but my favorite (which may also be
undocumented but which has been possible for years) is this:
prototype string function getObjectAutomationID()
To answer the ScheduleFunction question from another message: I did that to
allow Tab to be slow, which we all know can happen. :-)
On Fri, Feb 17, 2017 at 11:08:17AM -0500, Jason Fayre wrote:
Thanks doug!
I'm getting a compile error that hte second parameter to saymessage
should be string not int. Where is this GetObjectAutomationID function
defined?
On 2/17/17, Bob <temp@xxxxxxxxxxxxxxx> wrote:
Hi Doug__________???
I'm curious as to the reason for defaulting to schedule function?
Bob
On 17/02/2017 15:17, Doug Lee wrote:
Warning: Untested and uses an undocumented JAWS function, just because
it's faster lol.
include "hjconst.jsh"
script Tab()
performScript Tab()
scheduleFunction("sayAutomationID", 5)
endScript
void function sayAutomationID()
sayMessage(OT_Message, GetObjectAutomationID())
endFunction
On Fri, Feb 17, 2017 at 10:05:28AM -0500, Jason Fayre wrote:
Hi all,
I've got an application with a bunch of unlabeled controls. However,
it looks like the AutomationID property has good info.
How could I write a script so that the tab key will read the
automation ID automatically when I focus on a control?
Thanks!
__________???
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts
__________??????
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts