[nvda-addons] Re: Basic script questions

  • From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
  • To: <nvda-addons@xxxxxxxxxxxxx>
  • Date: Mon, 2 Jun 2014 16:28:01 -0700

Hi,
This is already possible in NVDA core (via mouse), but I'm thinking about a
way to do this while navigating via touch. In my opinion, I'd rather not
implement this for keyboard navigation.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Brian Gaff lists
account
Sent: Monday, June 2, 2014 3:58 PM
To: nvda-addons@xxxxxxxxxxxxx
Subject: [nvda-addons] Re: Basic script questions

Which is a pity, as I rather fancied the idea of having a nice musical sound
rising and lowering in its pitch as one moved up and down a document so one
did not have to keep looking at the status line  or whatever to get te o
position in your mind.

Brian

This account only receives email from the list. Please direct any personal
email to briang1@xxxxxxxxxxxxxxxx Replies to this address vanish into a
hole....
Unless Brian Gaff is in the To line display name field.
----- Original Message -----
From: "Joseph Lee" <joseph.lee22590@xxxxxxxxx>
To: <nvda-addons@xxxxxxxxxxxxx>; <nvda-addons@freelists.orgANDLE_T>
Sent: Monday, June 02, 2014 4:53 PM
Subject: [nvda-addons] Re: Basic script questions


> Hi Amanda,
> You cannot really "generate" wave signals via NVDA.  However, you can 
> play a wave file using NV wave module, with the name of the file to 
> play as a parameter (Mick knows more about this than I do; I rarely 
> use NV wave player).  And you cannot generate multiple tones using tones
module.
> Cheers,
> Joseph
>
> ----- Original Message -----
> From: Amanda Lacy <lacy925@xxxxxxxxx
> To: nvda-addons@xxxxxxxxxxxxx
> Date sent: Mon, 02 Jun 2014 10:50:59 -0500
> Subject: [nvda-addons] Re: Basic script questions
>
> So I have another question...
>
> Tones.beep doesn't output multiple frequencies at once.  To do this I 
> assume I will need to generate wave data (usually done as floats 
> between
> -1.0 and 1.0) and feed them to nvwave.wavePlayer.  The problem is, 
> wavePlayer.feed takes an str argument, and I can find very little 
> information about the format of this string.  So, how do you generate 
> waves and play them?
>
> Amanda
> On 5/30/2014 7:53 PM, Joseph Lee wrote:
> Hi Amanda,
> 1.  You can get the name/identifier for the gesture by doing 
> gesture.displayName.  The complete list of valid gestures is located 
> in NVDA core under source/vkCodes.py.
> 2.  To send the gesture to the operating system, at the beginning of 
> the script routine, write gesture.send().
> 3.  I usually use print statements in the script body to locate errors. 
> When
> this is done, NVDA will output stdout as part of the log viewer text 
> (log file).  Of course in production releases, remove traces of 
> debugging once you know your script is working as advertised.
> Any other questions?
> Cheers,
> jsoeph
>
> -----Original Message-----
> From: nvda-addons-bounce@xxxxxxxxxxxxx 
> [mailto:nvda-addons-bounce@xxxxxxxxxxxxx] On Behalf Of Amanda Lacy
> Sent: Friday, May 30, 2014 5:43 PM
> To: nvda-addons@xxxxxxxxxxxxx
> Subject: [nvda-addons] Basic script questions
>
> Hi, these are just a few dumb questions while I experiment with a few 
> plugins before actually getting started on my project.
>
> First, is there a comprehensive list of gestures and their names?
>
> Second, normally a script won't execute and then send the gesture to 
> the operating system, but is there a way to make it do this?
>
> Finally, and this is more of a debugging question, what's the easiest 
> way to get error messages? I've been copying my code to the global 
> plugins folder and then reloading the plugins, but this doesn't 
> generate any messages when things don't work.
>
> Amanda
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe"
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to 
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org
>
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe" 
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to 
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org
>
>
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe" 
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to 
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe" 
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to 
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org

----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe"
(without quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: