Hi Bob!
Thanks a lot for your code! That was what I looked for. I remember, I
had this code and it worked correctly, but now I did not find it. I will
extend it with the capability to save tracing data not to the cliboard
but to a log file.
Cheers,
Czaba
2020. 01. 16. 9:28 keltezéssel, Bob írta:
Czaba__________�
Try this, you will need to assign keystrokes and don’t forget to turn it off
before you alt tab away from the app.
Globals
String gTraceData
Script EnableTrace ()
AddHook (HK_EVENT_TRACE, "TracerFunc")
SayString ("Trace Enabled")
Let gTraceData = ""
EndScript
Script DisbaleTrace ()
RemoveHook (HK_EVENT_TRACE, "TracerFunc")
SayString ("TraceDisabled")
CopyToClipboard (gTraceData)
EndScript
Function TracerFunc (string sPath, string sFuncName)
gTraceData = gTraceData + "\r\n" + sFuncName + “ - “ + sPath
EndFunction
Bob
On 16 Jan 2020, at 04:56, jitender kumar@5142695 <Jeet.Kumar1@xxxxxxxxx>
wrote:
Hello, do the following:
1. get a copy of script template JAWS scripts, include them in your jss via
use statement,
2. add a key to the script ToggleDebugMode (),
3. add the names and set proper flags to the event functions whose names you
want read, and track with it.
Now, turn on the debug mode and see.
________________________________________
From: jawsscripts-bounce@xxxxxxxxxxxxx [jawsscripts-bounce@xxxxxxxxxxxxx] on
behalf of Csaba Árpádházy-Godo [arpadhazi68.jawsul@xxxxxxxxx]
Sent: Wednesday, January 15, 2020 7:25 PM
To: JAWSScripts List
Subject: [jawsscripts] Event racer hook - How to write
Warning: This email is not originated from SBI. Do not click on attachment
or links/URL unless sender is reliable. Malware/ Viruses can be easily
transmitted via email.
Hi guys,
could somebody tell me, how to write an event tracer type hook? I would
like to see how events follow each other, because I have a text box in
an application, and I would like to see, which events announces it. I
switched off every known focus event helpers where in default script
windowed controls are announced, and still JAWS announces this textbox.
Which is announced incorrectly, so I need to modify its announcement.
Thanks in advance for any suggestions.
Czaba
__________�
View the list's information and change your settings at
https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.freelists.org%2Flist%2Fjawsscripts&data%7C01%7CJeet.kumar1%40sbi.co.in%7Cf82440119294435c626308d799c2b95a%7Cfbdb22357f504509b407c58325ec27a8%7C0%7C0%7C637146933933945789&sdata=j%2BDprh%2BrOASOvBffUmW2Hm2i8uDhM16vq76aekhFcxU%3D&reserved=0
The information in this mail is confidential and is intended solely for
addressee. Access to this mail by anyone else is unauthorized. Copying or
further distribution beyond the original recipient may be unlawful. Any
opinion expressed in this mail is that of sender and does not necessarily
reflect that of State Bank group.
---
__________�
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