Sending keypresses


Abdulqadir Ahmad
 

Hi, please how can i send key presses with NVDA. Like
$ keySend("upArrow")
I apologize for sending this question to another thread.


Noelia Ruiz
 

Hi Abdulqadir:

Thanks so much for opening a new thread for this.

You may try this:

from keyboardHandler import KeyboardInputGesture

...

KeyboardInputGesture.fromName("upArrow").send()

For reference, you can see a similar code used in miranda32 app module in NVDA.

Hope this helps.


2022-09-24 10:31 GMT+02:00, Abdulqadir Ahmad <2004a3abuahmad@...>:

Hi, please how can i send key presses with NVDA. Like
$ keySend("upArrow")
I apologize for sending this question to another thread.






Abdulqadir Ahmad
 

Thank you noelia


On Sat, Sep 24, 2022, 10:06 AM Noelia Ruiz <nrm1977@...> wrote:
Hi Abdulqadir:

Thanks so much for opening a new thread for this.

You may try this:

from keyboardHandler import KeyboardInputGesture

...

KeyboardInputGesture.fromName("upArrow").send()

For reference, you can see a similar code used in miranda32 app module in NVDA.

Hope this helps.


2022-09-24 10:31 GMT+02:00, Abdulqadir Ahmad <2004a3abuahmad@...>:
> Hi, please how can i send key presses with NVDA. Like
> $ keySend("upArrow")
> I apologize for sending this question to another thread.
>
>
>
>
>
>