Hello;

I'm a little late on this thread but here is what I use.  Several years ago
Dennis Brown wrote a script that will copy anything the Jaws or PC cursor
can get to.  It will copy the current character, word, line or window.  I
have never had a failure.  

If you are comfortable working in your user's default scripts you can find
the script pasted below my signature.  Paste it into your users default.jss
file  and assign a key stroke  to the script.

Watch for possible line wrapping because of the email. 

hth

David Maynard
Franklin NC
dmaynar...@frontier.com 

Script copytextfromscreen () ;Alt+ Windows+ Control+ C

 Var
 string Char,
 string Word,
 string Line,
 string Window,
 String MyMenu,
 Int index
 let Char=GetCharacter()
 let Word=GetWord()
 let Line=GetLine()
 let Window=GetWindowText(GetCurrentWindow(),FALSE)
 let MyMenu="|Character" +
 "|Word" +
 "|Line" +
 "|Current window"
 Let index=DlgSelectItemInList (MyMenu, "Copy text from screen menu", False)
 If (index==1) then
 CopyToClipboard (Char)
 Say(Char,ot_string)
 ElIf (index==2 ) then
 CopyToClipboard (Word)
 Say(Word,ot_string)
 ElIf (index==3 ) then
 CopyToClipboard (Line)
 Say(Line,ot_string)
 ElIf (index==4 ) then
 CopyToClipboard (Window)
 Say(Window,ot_string)
 Else

 Say ("Menu canceled", OT_message)
 EndIf
 EndScript


-----Original Message-----
From: jaws-users-list-boun...@jaws-users.com
[mailto:jaws-users-list-boun...@jaws-users.com] On Behalf Of Dan Rossi
Sent: Tuesday, October 25, 2011 3:08 PM
To: jaws-users-list@jaws-users.com
Subject: Re: [JAWS-Users] Is there a way to copy and paste from the


Tom,

In the, there's a million ways to do anything in Windows, category, here 
is another way to do what you want.

Once you are in the command prompt, pipe the output of any command to a 
file, then you can open the file with notepad, or whatever you want.  For 
example.

C:\WINDOWS\system32\cmd.exe
C:\Documents and Settings\dr25>dir >> dir.txt
C:\Documents and Settings\dr25>notepad dir.txt

  Volume in drive C has no label.
  Volume Serial Number is 864E-9058

  Directory of C:\Documents and Settings\dr25

Note that there is a double greater than sign after the command dir and 
before the file name dir.txt.

I did use the virtual stuff to cut and paste some of the above.  After 
going into cmd.exe I typed my command, then hit insert-alt-w then 
activated the virtual cursor with numpad plus, then held down the shift 
key and moved around, then hit control-c.

Although, I do tend to just pipe to a file because that is often mor 
useful for me.  Depends on what I need to do with the output.

Hope that helps.

-- 
Blue skies.
Dan Rossi
Carnegie Mellon University.
E-Mail: d...@andrew.cmu.edu
Tel:    (412) 268-9081

For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/


For answers to frequently asked questions about this list visit:
http://www.jaws-users.com/help/

Reply via email to