[jawsscripts] Re: copy text

  • From: Theodore Cooke <theodorecooke@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 24 Nov 2020 13:12:21 -0500

Have you considered the GetTickCount function? It gets the number of
milliseconds since something or other started. Either since Jaws
started, the computer started, or since the year 1970 started.

You can do something like:
var int start = getTickCount()
while we're not done yet
delay(10) ; pause for a full second
endwhile
say we have been delaying for intToString( start - getTickCount()
thousandths  of a second.

On 10/31/20, Udo Egner-Walter <udo.egner-walter@xxxxxx> wrote:

Hi Bryan,
in web pages you can use domain specific scripting. You find more infos
here:

https://doccenter.freedomscientific.com/doccenter2/doccenter/rs25c51746a0cc/DomainScripts/02_DomainScripts.htm
<https://doccenter.freedomscientific.com/doccenter2/doccenter/rs25c51746a0cc/DomainScripts/02_DomainScripts.htm>

Udo



Am 31.10.2020 um 18:28 schrieb Bryan Schulz (Redacted sender "b.schulz"
for DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

Hi,

This only needs to be done on one website in chrome.
Bryan


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx <jawsscripts-bounce@xxxxxxxxxxxxx>
On
Behalf Of Jonathan Cohn
Sent: Saturday, October 31, 2020 12:02 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: copy text

You will need    to use a global variable. This will keep the information
even if you change applications. Note however, that global variables are
available for use in any JAWS script file, so make your variable name
particularly unique.
Jonathan
             Best wishes,
Jonathan Cohn



On Oct 31, 2020, at 12:02, Udo Egner-Walter <udo.egner-walter@xxxxxx>
wrote:

Hi Bryan,
there are several ways to check the screen for text.

First thing you can try is using the TouchCursor and find out if the
TouchCursor can find the text you are searching for. If you have sighted
help you can turn MouseSpeech on and ask your helper to put the mouse
cursor
on the spot where the time is displayed. If JAWS speaks the text you know
you can use UIA functions to get the text.

If you use the JAWS Cursor and find the text on the screen you know you
can use methods like GetTextBetween ().

You can also try to use the function FindString () if you know the
string
to search for (for example to search for a time you can use the : ore a
number). This places the JAWS cursor to the text found where you have a
chance to get the handle.

Perhaps it could be a good idea to use Doug Lees BXTools at
https://dlee.org/bx/ ;<https://dlee.org/bx/> I don't use this yet but I
think
it helps to examine the screen and find out more about the window and its
hierarchy.

Good luck
Udo


Am 31.10.2020 um 16:32 schrieb Bryan Schulz (Redacted sender "b.schulz"
for DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:

Hi,


I want to know if you can make jaws copy a word shown on the screen
and hold it in a variable for comparison.



I will have a counter on the screen showing how long a call has lasted.

There are conditions where I must wait 2, 3, or 5 minutes to end the
call and choose a reason for ending the call.

The time on hold is not shown on the screen, we just have to guess
how long we have been on hold.

I would make a script to grab the time on the screen and use that for
the starting point then another script to compare the new time to the
start time to calculate the difference and say the time on hold.

Thanks,

Bryan





__________�

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



__________�

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



__________�

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


__________�

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



__________�

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


__________�

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

Other related posts: