[jawsscripts] Re: Deleting clipboard programatically in JAWS

  • From: "Paul Magill" <magills@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Tue, 12 Nov 2013 23:43:57 +1100

Hi Csaba,

Jaws will not allow only the carriage return lineFeed pair to be copied to the 
clipboard, but if you follow it by a space, it is accepted as below:

Script Test ()
CopyToClipboard ("\R\N ")
Pause ()
TypeKey (CksPaste) ; constant from common.jsm. was PerformScript 
PasteFromClipboard() , but this spoke 'pasted'.  used instead of TypeString to 
preserve CRLF in multi line items
EndScript

This pastes a space on the line below where the key was pressed.

Regards,
Paul from Australia

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Csaba Godo
Sent: Tuesday, 12 November 2013 3:52 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Deleting clipboard programatically in JAWS


An other question: how to insert to the clipboard a carriage return-line feed 
character (like enter) to the clipbaord? What is its ALT code?

Thanks,

Csaba

2013.11.11. 23:16 keltezéssel, Jonathan C. Cohn írta:
> What happens if you select a zero length string and then use keyboard copy 
> key? I am on my Apple platforms right now or I would try.
>
> Best wishes,
>
> Jonathan
>
>
>
> On Nov 11, 2013, at 5:09 PM, Jim Bauer wrote:
>
>> JAWS doesn't allow copying the null string to the clipboard. You 
>> could use some other non-printable character ("\1" is what I tested), 
>> but you'll always have clipboard text with a length of 1--even if 
>> JAWS can't speak it. If that's "deleted" enough for your purposes, you're 
>> golden.
>>
>>
>>
>> On 11/11/2013 3:04 PM, Jackie McBride wrote:
>>> Well, copytoclipboard("") would certainly do that in short order.
>>>
>>> On 11/11/13, Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx> wrote:
>>>> Hi guys,
>>>>
>>>> Could somebody tell me how can I delete the content of the 
>>>> clipboard programatically in JAWS Basic? I have found many 
>>>> clipboard related commands in FSDN, but no one is for deleting the 
>>>> content. Just appending.
>>>>
>>>> Thanks in advance?
>>>>
>>>> Csaba
>>>> __________ďż˝
>>>>
>>>> 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: