[jawsscripts] Re: scripting question

  • From: Doug Lee <doug.lee@xxxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Wed, 6 Jan 2010 21:01:14 -0500

So we want...

SELECT * FROM JAWSElements WHERE type='function' AND ret_type='handle';

Anybody wanna build an SQL table? <grin>

Seriously, you have a point:  It can be tricky to find functions by
category, even though "category" is a field in the jsd files.

On Wed, Jan 06, 2010 at 06:22:29PM -0600, Jim Bauer wrote:
I find myself frequently writing JAWS Script code in other editors
(and every once in awhile, even with a different screen reader, if I
know it doesn't have to be immediately tested). I've grown accustomed
to typing things like `perldoc -f chmod' and getting an instant
breakdown, and was really just looking for the easiest,
IDE-independent way to duplicate that feel during scripting.

I could think of things like returning a list of documented functions
that match some criterion (maybe all the `get' functions that return
handles, or any functions operating on objects that return integers),
but those would be mere luxuries. <G>

I agree that what we have so far is more than adequate for things done
within the Script Manager itself.
Doug Lee <doug.lee@xxxxxxxxxxxxxxxx> wrote on Wed, 6 Jan 2010 18:56:40
-0500:

>I know about perldoc, but what are you looking for specifically?  We
>have the following already at least:
>
>Ctrl+I for a list of functions with descriptions and guided code insertion.
>
>Shift+F1 for looking up all information about a keyword (function
>names and some other keywords).
>
>The last one may do what you want:  Position the cursor on
>GetObjectAtPoint, for example, then type Shift+F1 to learn all about
>it.
>
>And for the power users among us, there's always the ability to use
>File > Open Shared File to open builtin.jsd, then use Ctrl+F to scan
>the whole file for interesting stuff.
>
>On Wed, Jan 06, 2010 at 05:39:49PM -0600, Jim Bauer wrote:
>MoveToWindow, SetFocus, any of the cursor routing functions. Poke
>around a bit, either in the `reference' section of the FSDN or the
>control+i `insert function' dialog of the Script Manager.
>
>As an almost related aside: for some time, JAWS has needed a
>Perldoc-type utility to provide quick, on-demand references to
>built-in JAWS scripting functions.
><jmtsanders@xxxxxxxxxxxxx> wrote on Wed, 6 Jan 2010 17:59:15 -0500:
>
>>Hi my name is John Sanders.
>>I have a question: In the program that i'm trying to develop scripts for, how 
>>do i go about telling the jaws scripts to move the user in to another window?
>>There's a private chat window in the program that i'm writing scripts for and 
>>there's the main edit window.
>>I hope to hear from you soon.
>>Sincerely,
>>John Sanders
>>__________?
>>Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>>
>>View the list's information and change your settings at 
>>http://www.freelists.org/list/jawsscripts
>
>__________?
>Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
>View the list's information and change your settings at 
>http://www.freelists.org/list/jawsscripts

__________?
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://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 
http://www.freelists.org/list/jawsscripts

Other related posts: