[jawsscripts] Re: reading control automation id when tabbing

  • From: Jason Fayre <jfayre@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 17 Feb 2017 11:08:17 -0500

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


__________�

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

Other related posts: