[jawsscripts] Re: Good intros to JAWS scripting, accessing highlight status of text in PDF

  • From: "Steve Spamer" <stevespamer68@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Wed, 6 Oct 2021 11:58:46 +0100

This would be great Theodore.

Currently, I personally find 2 aspects of UIA challenging:
1, Knowing which properties and methods need to be used together for a given 
situation and the syntax required.
2, Finding functions/syntax that is not included in the official documentation, 
but is present in Jaws code.

For example, I've had amazing help from a list member off list, which has 
enabled me to make things more efficient and write code that solves problems 
that I wouldn't have been able to do previously, but in the below example, 
there is a line that isn't included in the official documentation. They told me 
they got it from the jaws list a while back. So, it's almost as if there's 
aspects to UIA that isn’t covered, and you need to totally understand the 
official stuff before looking through jaws code or getting someone else's 
working code to find working examples.

Example (the function " CreateRawViewCondition" is not in the official 
documentation, which I'm pretty sure is JAWS UIA Script API Documentation.html 
):

Object Function TreeWalkerFromCurrentElement ()
Var
        Object oUIA = CreateObjectEx ("FreedomSci.UIA", 0, 
"UIAScriptAPI.x.manifest"),
                Object oElement = oUIA.GetFocusedElement (),
        Object oTree = oUIA.CreateTreeWalker (oUIA.CreateRawViewCondition())
                        
                OTree.CurrentElement = oElement
                Return oTree.CurrentElement
EndFunction, 

Best Steve.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx> On 
Behalf Of Theodore Cooke
Sent: 06 October 2021 11:00
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing highlight 
status of text in PDF

Sounds like the people have spoken. Part II on UIA is in order.
I figured out the outline, but got stuck trying to explain UIA. I think I just 
need to do an entire post explaining UIA, then another post explaining how to 
use UIA with Jaws. I'll try to carve time this month to get at least one part 
done.

For those trying to learn UIA, have you read the microsoft documentation?
How much were you able to make sense of, and what confused the hell out of you?

On Thu, Sep 30, 2021 at 10:15 PM <donanderson4550@xxxxxxxxx> wrote:

Yes, I would really like to have a jaws script sharing site.  I hope 
you will pursue this and that you will get some support.  I have a few 
I would be willing to contribute.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
<jawsscripts-bounce@xxxxxxxxxxxxx>
On
Behalf Of James Benstead
Sent: Friday, September 10, 2021 8:30 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing 
highlight status of text in PDF

I also found that article really great, and would love to see a part 2 
relating to UIA scripting -- I'm not sure there are any good 
introductions out there already (but I'd love to be corrected on that 
if someone knows different).
While we're on the subject of learning resources, here's a version of 
the "Everything You Always Wanted to Know About Writing JAWS Scripts" 
guide that Kenneth A. Gould wrote. It's over 20 years old now but I 
think it's still a useful introduction:

https://docs.google.com/document/d/115gwVTWlDov0mcmkmZ5nl4absmA6WBA-nS
jKaG76
2Jg/edit?usp
<https://docs.google.com/document/d/115gwVTWlDov0mcmkmZ5nl4absmA6WBA-n
SjKaG762Jg/edit?usp>
˙aring
.

There was some discussion late last year about launching a website 
where we could share our JAWS scripts in a way that other scripters 
could comment on them -- sort of like a wiki. I thought I'd mention 
that again now, as I think it could be extremely helpful for people working 
with JAWS scripts.
I'd be happy to give some time over to working on a project like that 
if other list members liked the idea.
--
Jim Benstead
Assistive technology trainer and consultant


On Thu, 9 Sept 2021 at 15:05, jgonzalezh614 
<dmarc-noreply@xxxxxxxxxxxxx>
wrote:

This tutorial is great but it would have been awesome if the creator 
would have done part 2 as well. Still have not found a good UIA 
scripting tutorial.

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
<jawsscripts-bounce@xxxxxxxxxxxxx>
On Behalf Of Jonas Voll
Sent: Thursday, September 9, 2021 8:07 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing 
highlight status of text in PDF

Theodore, good article!


Certification for Assistive Technology Instructor Program, (ATIP).
Certifications for Jaws, Magic, & Zoomtext.


Jonas  Voll
Support Technician I
Envision, Inc.
2301 S Water ST
Wichita,  KS 67213
O: 316-425-7141
F: 316-267-4312
www.envisionus.com
Envision: To improve the quality of life and provide inspiration and 
opportunity for people who are blind or visually impaired through 
employment, outreach, rehabilitation, education and research.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
<jawsscripts-bounce@xxxxxxxxxxxxx>
On Behalf Of Mike Anthony
Sent: Wednesday, September 8, 2021 4:20 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing 
highlight status of text in PDF

EXTERNAL SENDER: Only open links and attachments from known senders.
DO NOT provide your username or password.

Hi,

I really like the information on JAWS scripting.  Thanks!

Sincerely,
Mike


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
<jawsscripts-bounce@xxxxxxxxxxxxx>
On Behalf Of Snowman
Sent: Friday, October 16, 2020 3:02 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing 
highlight status of text in PDF

Ted,  I did not know this tutorial existed.  But, it seems like 
people would find it very useful.
I'd like to link to it from my site.  Can I use the link you provided?
Or, will this be moving soon.






+--------------------------------------------------------------------------+
Listen to The Snowman on
https://linkprotect.cudasvc.com/url?aË™tps%3a%2f%2fMushroomFM.com&cË
™1,5 
PIBxcplEyvAFGcF3Nb-MkeDJVPxYprr_h2PdntFME4MHminLFv8-B5XC_8tvJXnsjZ0e
um wLkhtQxI2J6sMjqR0jirOUexjY_GfI6H-kbRCUQo,&typoË™
Saturday evenings, 8PM Eastern time.
60's and 70's tunes, and gently conservative talk.

----- Original Message -----
From: "Theodore Cooke" <theodorecooke@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, October 16, 2020 9:36 AM
Subject: [jawsscripts] Re: Good intros to JAWS scripting, accessing 
highlight status of text in PDF


Here's a walk through I wrote on learning jaws scripting. There is a 
part II in the works, but since I haven't received any feedback on 
part 1 yet, I have left part 2 on the back burner for now.

https://gist.github.com/BeastlyTheos/177004102bafda4b20e9b6e72863d29a?
fbclid˙AR3LNsFC3Ny66yAx8RknBpDEMXnJwa8h9lHj53NMkMMNEwFhd3F4X3WKH1s


On 9/25/20, Csaba Ä‚ rpádházy-Godo 
<arpadhazi68.jawsul@xxxxxxxxx>
wrote:
Hi, James,

here is the ling:

https://linkprotect.cudasvc.com/url?a˙tps%3a%2f%2fsupport.freedom
sci 
entific.com%2fsupport%2fjawsdocumentation%2fFSDN&c˙1,Vir6Y6bCvrL2
rSA 
la6QDy_qw8wSJ_DExzsfkLLXbaqLtIIJMfC8TyVfCUHYtNutSK-qdqdEagVor5Rn_c
wO QF EojcmIgJ3ji1paCQBE67ktv5_TsoQ,,&typoË™> >

2020. 09. 24. 22:53 keltezĂ©ssel, James Benstead Ä‚­rta:
Hi Csaba,
Thank you, I will continue my work in learning JAWS scripting on 
that basis!

I can't find the specific FSDN help file "The Essential JAWS 
Scripting Handbook", but I did find the "Basics of Scripting Manual"
at

https://linkprotect.cudasvc.com/url?a˙tps%3a%2f%2fsupport.freedo
msc 
ientific.com%2fContent%2fDocuments%2fOther%2fScriptM&c˙1,ocNAykM
sBp 
Ie-u9mv-8RXBFmqsSaSrB74nve7-vGrZw1v4BaLBGaBwLRBePMd_F2NPMDwuQILkO
PJ t_ bjh6ayAfDqBUinCKrcdDe6feYDXKD9Uze3urIba_a&typoË™> >> 
anual/01-0_Introduction.htm

And the FSDN help file at

https://linkprotect.cudasvc.com/url?a˙tps%3a%2f%2fsupport.freedo
msc
ientific.com%2fsupport%2fjawsdocumentation%2fFSDN&c˙1,hiVQA7AQ3c
Yr2 
ltoY8xNHniDorNLAYV3aruGoA7vS5cATrJ5h7KodiUWJORS2hde9pZLwS6epVsF7p
iS KM 3io1Q9Y6W9eEDC31BOqUnj7Nwtfpg,&typoË™> >> Which includes 
"General Scripting Concepts", "Reference Guide", and "API Tools".

Are these the correct documents to start with? Or am I missing
something?

Thanks again!

Jim

--
Too brief? Here's why!
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2femailcharter.or
g&c 
˙1,NVZI5aFD6MQlkfgcPy3xaHAZw8P4TcSfpJGGQwk6pln4JGHqUBhucugi7AXbT
mGj 8l_dBh9IAsVwhW7-WnmyQ2xOAEH2uB7qWVlCPaajXCcwfkn8sA,,&typoË™> 


On Thu, 24 Sep 2020 at 20:30, Csaba Ä‚ rpádházy-Godo < 
arpadhazi68.jawsul@xxxxxxxxx> wrote:

Hi James,

of course, JAWS Script language has functions to determine the 
colors on the screen. Bot hte foreground & the background. I 
recommend you to download FSDN (Freedom Scientific Developer
Network) help file what is "The EssentialJAWS Scripting Handbook".

HTH

Csaba


2020. 09. 24. 14:56 keltezĂ©ssel, James Benstead Ä‚­rta:
I'm looking to get into JAWS scripting. Are there good online 
resources
to
get me started? I have some experience of coding.
One specific thing I'd like to be able to access with a script 
is the "highlighting status" of any give character in a PDF. 
Not highlighting as in "selecting text so that you can then 
make it bold or italic", but the sort of highlighting you can 
add to a PDF that looks like you've drawn on the document with 
a highlighter pen. Is this information available to
JAWS
scripts?

--
Too brief? Here's why!
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2femailcharter.
org 
&c˙1,qWRmU59mcLDmCwQsyfQi3A9dIs--XvTWCkEdo-hGDjmAXVljKL5PsXojc
2pN 
hQS8Wy5VgOgLLPh5ffsH8pCdi9ejdDlhIsB0x2KhDPbb_SxVejKbkzFw&typoË™



__________

View the list's information and change your settings at 
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists
.or 
g%2flist%2fjawsscripts&c˙1,sFoNNVFu7znQJovBtERU3v6pWwd9lZHMGmE
wUj 
6qoNAM3VRG78_fQTqftnt7MpGVde03jDknen3csVOdy0jdyWp891TDdvuOwNIf4
yI
tl
CIRyvAe-Q,,&typoË™> >>>>
__________

View the list's information and change your settings at 
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.
org
%2flist%2fjawsscripts&c˙1,JvVdovlFdWs3Wka2JLJ9rkjsSM203uvMrKRSK
Kv1 
fkylVfqylF64sxQBWra_JUz0ctcdQWtnS2sq-q-8gNHuBQgxx4yWd-3R6EjsnWgk
EX
qc
T3qVOfQN&typoË™> >>>


__________

View the list's information and change your settings at 
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.o
rg% 
2flist%2fjawsscripts&c˙1,JeLjdNJQ8rJh-3RaLfQCOJdIk1u15IVeFWQ4BbJ
Lsj
q6Hrw-PL_A2YL8YuY20MTLvXzTcOcDKhfm14HX5uy-t4TrsGu7nmQr9s2bSMch3zQ
p8
g6
y&typoË™> >>
__________

View the list's information and change your settings at
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.or
g%2 
flist%2fjawsscripts&c˙1,1sMbj81E1-QlpnXnmhvHYM_TcckIbWt2_XpgpUBIU
__B 
yX5zng7_7sz1gAHoZfmy5grG72Vw_mBpd3Wlb_i1gEB2L5LEhTdQKvjjZL86vpl-CV
Od
E7
_VFXQ,&typoË™> >

__________

View the list's information and change your settings at 
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.org%
2fl 
ist%2fjawsscripts&c˙1,vB9e6FjpWJUSXXxNE6ycXjefE4kS-9CU0MBPNZj5xo_wo
RrS 
nUb1ds0IJKYeeKC_daZ9ROPu_S0AfyCYxTeh_JWIZixFTkVGH4g3TRhEKvvPqdN4CA,,
&t
ypoË™>
__________

View the list's information and change your settings at 
https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.org%
2fl 
ist%2fjawsscripts&c˙1,7zDYfgXnHZvL5p7h0hWzwS1FmBlNoRmt7ceWhwUTKpfpp
nKX 
vCtHvorYSJUKQ9jAZvKxahevWPr-1fAIeby6O4NwWZ8GyUnAvhQTxVdZW4FvUpMmjIt2
BC
Xi_g,,&typoË™>
__________

View the list's information and change your settings at

https://linkprotect.cudasvc.com/url?a˙tp%3a%2f%2fwww.freelists.org%
2fl 
ist%2fjawsscripts&c˙1,4_RX1tPsSSCi0Jp2tC43hBr2ew4CckbcWf4xRYZPJk7Iw
XuR Ym1ypiEfwBPpefDfaXfzCKz9oPACDTpwNoZDS2fZB-KZrnY2rBwkMWPB&typoË™>

NOTICE: This electronic mail message and any attached files are 
confidential. The information is exclusively for the use of the 
individual or entity intended as the recipient. If you are not the 
intended recipient, any use, copying, printing, reviewing, 
retention, disclosure, distribution or forwarding of the message or 
any attached file is not authorized and is strictly prohibited. If 
you have received this electronic mail message in error, please 
advise the sender by reply electronic mail immediately and 
permanently delete the original transmission, any attachments and 
any copies of this message
from
your computer system.
__________

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


__________ďż˝

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: