Topics

nvda addon development guide example 2 doesn't work


=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
 

Please check. Thank you!


 

Hi,
The Notepad app module example? Do you get any error (or hear any error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't work

Please check. Thank you!


=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
 

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't work
Hi,
The Notepad app module example? Do you get any error (or hear any error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't work

Please check. Thank you!










 

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't
work

Please check. Thank you!











=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
 

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't work
Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't
work

Please check. Thank you!



















 

Hi,
I see. Exactly which example is this?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:07 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't
work

Please check. Thank you!




















=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
 

Example 2. Get line number of current edit.

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 01:34:26 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't work
Hi,
I see. Exactly which example is this?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:07 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2 doesn't
work

Please check. Thank you!




























 

Hi,
I'll refine this example for 2021.1 edition as it does not reflect object
hierarchy in recent Notepad releases. In short, status bar text is split
among child objects, which means one must go down one more level, look at
the second object, then split the name to obtain line number.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:37 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

Example 2. Get line number of current edit.

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 01:34:26 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
I see. Exactly which example is this?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:07 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2
doesn't work

Please check. Thank you!





























=?ISO-2022-JP?Q?=1B$B9b=4082=22=1B=28J?=
 

Which child object should I get? Thanks!

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 02:10:50 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't work
Hi,
I'll refine this example for 2021.1 edition as it does not reflect object
hierarchy in recent Notepad releases. In short, status bar text is split
among child objects, which means one must go down one more level, look at
the second object, then split the name to obtain line number.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:37 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

Example 2. Get line number of current edit.

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 01:34:26 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
I see. Exactly which example is this?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:07 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2
doesn't work

Please check. Thank you!





































 

Hi,
The child of the status bar object as returned by NVDA through
api.getStatusBar() function.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 2:56 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2 doesn't
work

Which child object should I get? Thanks!

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 02:10:50 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
I'll refine this example for 2021.1 edition as it does not reflect
object hierarchy in recent Notepad releases. In short, status bar text
is split among child objects, which means one must go down one more
level, look at the second object, then split the name to obtain line
number.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:37 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Example 2. Get line number of current edit.

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 01:34:26 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
I see. Exactly which example is this?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 1:07 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Sorry! I got the debuging message:
IndexError: list index out of range

On Sun, 28 Mar 2021, Joseph Lee wrote:

Date: Sun, 28 Mar 2021 00:53:41 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
Eh? That's a different example, I'm afraid.
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Sunday, March 28, 2021 12:42 AM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

When I pressed NVDA+S I got speech mode changed.

On Sat, 27 Mar 2021, Joseph Lee wrote:

Date: Sat, 27 Mar 2021 23:44:18 -0700
From: Joseph Lee <joseph.lee22590@gmail.com>
Reply-To: nvda-addons@nvda-addons.groups.io
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] nvda addon development guide example 2
doesn't work

Hi,
The Notepad app module example? Do you get any error (or hear any
error
tone) when you try to use the example code?
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io
<nvda-addons@nvda-addons.groups.io>
On Behalf Of ???
Sent: Saturday, March 27, 2021 11:42 PM
To: nvda-addons@nvda-addons.groups.io
Subject: [nvda-addons] nvda addon development guide example 2
doesn't work

Please check. Thank you!