[NFBCS] JAWS Script Question

Ty Littlefield tyler at tysdomain.com
Tue Dec 3 21:17:38 UTC 2024


Hi doug,

Thanks so much for your reply. I'm not super great with scripts; can you 
explain what you mean re: event processing?

Thanks again,

Ty



On 12/3/2024 2:00 PM, Doug Lee via NFBCS wrote:
> priorLine and nextLine functions request moves but may not necessarily wait to return until they are
> accomplished. It is often sufficient to put a pause() call below those before speaking. In more obnoxious
> circumstances, event processing is more effective. You may also find the SayLineUnit function in default.jss
> an interesting alternative for wrapping, depending on your environment.
>
> On Tue, Dec 03, 2024 at 12:56:03PM -0700, NFBCS mailing list wrote:
> Hi all,
>
> I'm trying to reproduce the edsharp indentation level announcements since I
> often lose track of where I am in vs.
>
> I'm wrapping PriorLine and NextLine so that I can get the indentation level
> before and after the move.
>
> I'm confused about how this is working; here's my debug script:
>
> SayString("debug "+GetLine())
> PriorLine()
> SayString("debug "+GetLine())
> This speaks the line I was on twice, whereas the second SayString should be
> speaking the line I'm currently on. I'm confused why/how this is happening,
> and if there's a better way to go about this.
>
> For example, If my file reads:
>
> a
>
> b
>
> c
>
>
> and I'm on b, if I navigate up from b I expect to hear:
>
> debug: b
>
> debug: a
>
> instead I hear:
>
> debug: b
>
> debug: b
>
> The same issue exists going down a line.
>
>
>
> Thanks,
>
>
> Ty
>
>
>
> _______________________________________________
> NFBCS mailing list
> NFBCS at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for NFBCS:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/dgl%40dlee.org
>



More information about the NFBCS mailing list