[jawsscripts] Re: AW: Keypress question

There are also SelectNextCharacter() SelectNextWord(), and
SelectPriorCharacter(), selectPriorWord().

If all that is needed is selecting it seems this is reinventing the wheel
and you could just assign more keystrokes to the already existing scripts?


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Willi Lutzenberger
Sent: Wednesday, January 21, 2009 6:20 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] AW: Keypress question

Hello Rui,
How about SelectNextLine() and SelectPriorLine()?

The Documentation about this function shows as follows:
***
void selectnextline()

Category:  Selection

Synopsis:  Selects the text from the cursor position to the same position on
the next line.

Return Type:  void

Description:  Sends a SHIFT+DOWN ARROW to the system.  The result is
controlled by the application.
In most edit controls, the line below the PC cursor is selected. This
keystroke can also be used for
selecting contiguous items in list boxes or list views. 
***

So what you would need to do is to define the conditions when
SelectNextLine() and SelectPriorLine()
should be called by SayNextLine() and SayPriorLine().

Best regards, Willi
> -----Ursprüngliche Nachricht-----
> Von: jawsscripts-bounce@xxxxxxxxxxxxx 
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] Im Auftrag von Rui Fontes
> Gesendet: Mittwoch, 21. Januar 2009 03:25
> An: jawsscripts@xxxxxxxxxxxxx
> Betreff: [jawsscripts] Keypress question
> 
> Hello,
> 
> It is possible in Jaws scripting simulate the pressing of a 
> key like Shift?
> 
> What we need is to simulate the following scenario:
> 1 - Press and hold the Shift Key;
> 2 - Press arrow keys to select text;
> 3 - Release the Shift Key.
> 
> The script should achieve the operations 1 and 3...
> 
> Rui
> 
> 
> -- 
> Estou utilizando a versão gratuita de SPAMfighter para 
> usuários privados.
> Foi removido 58840 emails de spam até hoje.
> Os usuários pagantes não têm esta mensagem nos seus emails.
>  Adquira SPAMfighter grátis aqui: http://www.spamfighter.com/lpt
> 
> 
> __________ 
> Visit and contribute to The JAWS Script Repository 
> http://jawsscripts.com
> 
> View the list's information and change your settings at 
> http://www.freelists.org/list/jawsscripts
> 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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


__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

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

Other related posts: