[jawsscripts] Re: CopySelectedTextToClipboard and AppendSelectedTextToClipboard

  • From: "Reed poynter" <reed.poynter@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Fri, 16 Nov 2012 09:59:01 -0800

Hi Tom,

It doesn't work for me with Windows 7 and JAWS 14.
In wordpad, when I select a line, hit control+C, select another line, hit
Windows+insert+C, followed by Control+V, it works just fine.  But, when I
run the script and hit Control+V I get a blank line.
So, I'm scratching my head.

I'll have to put some clipboard testing into the script.
This was supposed to be just a little quickie script to save me some time.
Oh well, it happens.

Reed 
 
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
Sent: November-16-12 6:41 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts   ] Re: CopySelectedTextToClipboard and
AppendSelectedTextToClipboard

Hi Reed,  I had provided two scripts one to copy to clipboard and the other
to append to clipboard.  The append to clipboard is as follows:
script appendLineToClipBoard()
say("append to clipBoard",ot_status)
var
string CopyLine
let Copyline = getline()
AppendToClipboard (CopyLine, true)
EndScript

You need to assign a keystroke to the script to collect the information.
Then the control+v to paste the contents of the clipboard.
Tom Bisset
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Reed poynter
Sent: November 15, 2012 5:04 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: CopySelectedTextToClipboard and
AppendSelectedTextToClipboard

Hi Tom,

As you know, your script works with CopyToClipboard.
When I change the CopyToClipboard to AppendToClipboard as below,  it doesn't
seem to work.
When I run the script and then try to paste the contents of the clipboard
with Control-V, nothing happens.
By the way, I want to be able to down-arrow through a text file and when I
find a line that I like, I want to hit a hot key and append the line to the
clipboard. I will later paste these collected lines into another text file.
The Script follows:  

Script AppendLineToClipBoard ()
say("copy to clipboard",ot_status)
var
string CopyLine
let Copyline = getline()
AppendToClipboard (copyline, 1)
EndScript

Reed
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bissett, Tom
Sent: November-15-12 12:29 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: CopySelectedTextToClipboard and
AppendSelectedTextToClipboard

Hi Reed,  I am not sure what you are doing,  I am confused why the
selectnextline.
I have a script that does something similar.
script CopyLineToClipBoard()
say("copy to clipboard",ot_status)
var
string CopyLine
let Copyline = getline()
CopyToClipboard (copyline)
EndScript

OR

script appendLineToClipBoard()
say("append to clipBoard",ot_status)
var
string CopyLine
let Copyline = getline()
AppendToClipboard (CopyLine, true)
EndScript

Tom Bisset
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Reed poynter
Sent: November 15, 2012 3:08 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] CopySelectedTextToClipboard and
AppendSelectedTextToClipboard

Hi Scripters,

I have created the script below.  I've successfully compiled it in
Default.jss and Wordpad.jss.
When I run it via my assigned hot key, I receive a verble message that says,

"unknown function call to CopySelectedTextToClipboard" or "unknown function
call to AppendSelectedTextToClipboard".
Any ideas?

Thanks,

Reed

Script SelectandCopyLineToClipboard ()

SelectNextLine ()
;AppendSelectedTextToClipboard ()
CopySelectedTextToClipboard ()  

EndScript

__________???

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

__________o?=

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

__________o?=

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: