Nvda Scripting and virtual document


Sampa <scratchoun8@...>
 

Hi,

I'm a new NVDA user, and an old JAWS scripter. At work, I have to use internal application with IE. For some of these applications, I would like to access quickly to a particular element (for example a form field, or a paragraph) with a keystroke. 
With JAWS I used to get the id of this formfield and then set the focus on it.
As I am a beginner, I don't know how to begin my plugin. Which class and function should I use to catch the DOM object, or is there another way to proceed?
I've read a lot of things on this list and in the developper guide, but I could'nt find anything.

Thank you for your help.

Best regards


Quentin Christensen
 

Hi Sampa,

A couple of places to investigate

If you are just getting in to writing NVD add-ons, Joseph Lee, one of our very talented and prolific contributors has just started a learning course with its own group.  Send an email to Nvda+devlearning+subscribe@groups.io to join.


There is also the regular NVDA developers group (different to the other one): Nvda-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nvda-devel

Kind regards

Quentin.

On Tue, Sep 12, 2017 at 7:41 PM, Sampa <scratchoun8@...> wrote:
Hi,

I'm a new NVDA user, and an old JAWS scripter. At work, I have to use internal application with IE. For some of these applications, I would like to access quickly to a particular element (for example a form field, or a paragraph) with a keystroke. 
With JAWS I used to get the id of this formfield and then set the focus on it.
As I am a beginner, I don't know how to begin my plugin. Which class and function should I use to catch the DOM object, or is there another way to proceed?
I've read a lot of things on this list and in the developper guide, but I could'nt find anything.

Thank you for your help.

Best regards




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sampa <scratchoun8@...>
 

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa


Quentin Christensen
 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:
Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Sure :)

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Thanks Sam,

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Ok, but aside from the errors in the log, is anything not working?

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

How do you switch to sent items?

I've seen one issue where if you press control+y, it often causes problems, but control+shift+tab seems to work instead.

On Thu, Sep 14, 2017 at 10:11 AM, Sam Bushman <libertyroundtable@...> wrote:

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

I have been using ctrl-y – just tried ctrl-shift-tab and it worked fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:16 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

How do you switch to sent items?


I've seen one issue where if you press control+y, it often causes problems, but control+shift+tab seems to work instead.

 

On Thu, Sep 14, 2017 at 10:11 AM, Sam Bushman <libertyroundtable@...> wrote:

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Ok, yep it's definitely something we want to get fixed, but as an interim workaround, control+shift+tab at least doesn't seem to crash anything.

On Thu, Sep 14, 2017 at 10:38 AM, Sam Bushman <libertyroundtable@...> wrote:

I have been using ctrl-y – just tried ctrl-shift-tab and it worked fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:16 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

How do you switch to sent items?


I've seen one issue where if you press control+y, it often causes problems, but control+shift+tab seems to work instead.

 

On Thu, Sep 14, 2017 at 10:11 AM, Sam Bushman <libertyroundtable@...> wrote:

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

Agreed, anything I can do to help, just say the word.

Thank you sir,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 7:32 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, yep it's definitely something we want to get fixed, but as an interim workaround, control+shift+tab at least doesn't seem to crash anything.

 

On Thu, Sep 14, 2017 at 10:38 AM, Sam Bushman <libertyroundtable@...> wrote:

I have been using ctrl-y – just tried ctrl-shift-tab and it worked fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:16 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

How do you switch to sent items?


I've seen one issue where if you press control+y, it often causes problems, but control+shift+tab seems to work instead.

 

On Thu, Sep 14, 2017 at 10:11 AM, Sam Bushman <libertyroundtable@...> wrote:

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Thank you.  The issue we have on our issue tracker for this is: https://github.com/nvaccess/nvda/issues/7556

Feel free to subscribe to be notified of updates, or add a comment if you can contribute any new information.

On Thu, Sep 14, 2017 at 12:30 PM, Sam Bushman <libertyroundtable@...> wrote:

Agreed, anything I can do to help, just say the word.

Thank you sir,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 7:32 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, yep it's definitely something we want to get fixed, but as an interim workaround, control+shift+tab at least doesn't seem to crash anything.

 

On Thu, Sep 14, 2017 at 10:38 AM, Sam Bushman <libertyroundtable@...> wrote:

I have been using ctrl-y – just tried ctrl-shift-tab and it worked fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:16 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

How do you switch to sent items?


I've seen one issue where if you press control+y, it often causes problems, but control+shift+tab seems to work instead.

 

On Thu, Sep 14, 2017 at 10:11 AM, Sam Bushman <libertyroundtable@...> wrote:

Sometimes I get errors as I arrow down a message and it will not read.

Other times if I switch to sent items outlook quits responding.

But, some of the time it’s just fine.

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 6:00 PM


To:
nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Ok, but aside from the errors in the log, is anything not working?

 

On Thu, Sep 14, 2017 at 9:52 AM, Sam Bushman <libertyroundtable@...> wrote:

I restarted nvda at the desktop to get a clean log.

I launched outlook – let the email list of messages display and pressed nvda-f1 – copied the log to the clipboard and then hit enter on the message at the bottom of the list which was your message.

I chose reply and pasted the log to you.


That is all.

I get errors when I down arrow in many messages as well.

I have tried this after restarting with addons disabled as well.

That doesn’t seem to help.

I have also rolled back to release builds and this problem still happens.

             

Thank you sir,

Sam

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:46 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Thanks Sam,

 

What happened when this log was generated?  EG: Were you doing something particular in Outlook, does it always happen when you do that, etc?

 

On Thu, Sep 14, 2017 at 9:42 AM, Sam Bushman <libertyroundtable@...> wrote:

Please see my nvda viewer log:

Note the errors.

 

INFO - __main__ (17:39:32.213):

Starting NVDA

INFO - core.main (17:39:32.447):

Config dir: C:\Users\User\AppData\Roaming\nvda

INFO - config.ConfigManager._loadConfig (17:39:32.447):

Loading config: C:\Users\User\AppData\Roaming\nvda\nvda.ini

INFO - core.main (17:39:32.509):

NVDA version master-14434,c626dd6d

INFO - core.main (17:39:32.509):

Using Windows version 10.0.15063 workstation

INFO - core.main (17:39:32.509):

Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]

INFO - core.main (17:39:32.509):

Using comtypes version 0.6.2

INFO - synthDrivers.espeak.SynthDriver.__init__ (17:39:32.867):

Using eSpeak NG version 1.49.1 dev

INFO - synthDriverHandler.setSynth (17:39:32.937):

Loaded synthDriver espeak

INFO - core.main (17:39:32.937):

Using wx version 3.0.2.0 msw (classic)

INFO - brailleInput.initialize (17:39:32.938):

Braille input initialized

INFO - braille.initialize (17:39:32.940):

Using liblouis version 3.2.0

INFO - braille.BrailleHandler.setDisplayByName (17:39:32.940):

Loaded braille display driver noBraille, current display has 0 cells.

WARNING - core.main (17:39:32.990):

Java Access Bridge not available

INFO - _UIAHandler.UIAHandler.MTAThreadFunc (17:39:32.996):

UIAutomation: IUIAutomation3

INFO - core.main (17:39:33.348):

NVDA initialized

ERROR - RPC process 5292 (nvda_slave.exe) (17:39:39.240):

__main__.main:

slave error

Traceback (most recent call last):

  File "nvda_slave.pyw", line 90, in main

  File "comHelper.pyc", line 22, in _lresultFromGetActiveObject

  File "comtypes\client\__init__.pyc", line 180, in GetActiveObject

  File "comtypes\__init__.pyc", line 1165, in GetActiveObject

  File "_ctypes/callproc.c", line 950, in GetResult

WindowsError: [Error -2147221021] Operation unavailable

INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo (17:39:48.641):

Developer info for navigator object:

name: u'From Quentin Christensen, Subject Re: [nvda] Nvda Scripting and virtual document, Received Wed 9/13/2017 5:39 PM, Size 27 KB,'

role: ROLE_LISTITEM

states: STATE_FOCUSABLE, STATE_SELECTABLE, STATE_FOCUSED, STATE_READONLY, STATE_SELECTED

isFocusable: True

hasFocus: True

Python object: <appModules.outlook.UIAGridRow object at 0x04DD1EB0>

Python class mro: (<class 'appModules.outlook.UIAGridRow'>, <class 'NVDAObjects.behaviors.RowWithFakeNavigation'>, <class 'NVDAObjects.UIA.UIA'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <type 'object'>)

description: ''

location: (360, 1744, 684, 70)

value: None

appModule: <'outlook' (appName u'outlook', process ID 8932) at address 4c64150>

appModule.productName: u'Microsoft Outlook'

appModule.productVersion: u'16.0.8326.2096'

TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>

windowHandle: 16974452

windowClassName: u'OutlookGrid'

windowControlID: 4704

windowStyle: 1442840576

windowThreadID: 10480

windowText: u'Table View'

displayText: u''

UIAElement: <POINTER(IUIAutomationElement) ptr=0x66728e8 at 4dc7990>

UIA automationID:

UIA frameworkID:

UIA runtimeID: (42, 16974452, 3, -758, 585486336, 30616759)

UIA providerDescription: [pid:8932,providerId:0x0 Main(parent link):Unidentified Provider (unmanaged:OUTLOOK.EXE)]

UIA className: LeafRow

 

 

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:39 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Sure :)

 

I have started catching up on the Outlook issues - at least getting up to speed with what the issues are etc moreso than necessarily having all the solutions.

 

On Thu, Sep 14, 2017 at 9:35 AM, Sam Bushman <libertyroundtable@...> wrote:

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Steve Nutt
 

Hi,

 

I think we all do.  NVDA 2017.3 just doesn’t like you switching folders.  Is that the problem you mean?  JAWS crashes Outlook, but NVDA does it much more.

 

All the best

 

Steve

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Sam Bushman
Sent: 14 September 2017 00:35
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Steve, out of curiosity, does Jaws crash Outlook in the same way - ie there seems to be a big problem with changing folders currently in any way other than with control+shift+tab.

On Thu, Sep 14, 2017 at 10:46 PM, Steve Nutt <steve@...> wrote:

Hi,

 

I think we all do.  NVDA 2017.3 just doesn’t like you switching folders.  Is that the problem you mean?  JAWS crashes Outlook, but NVDA does it much more.

 

All the best

 

Steve

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Sam Bushman
Sent: 14 September 2017 00:35


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Sam Bushman
 

I can use latest jaws with ctrl-y and outlook 2016 just fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Thursday, September 14, 2017 5:53 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Steve, out of curiosity, does Jaws crash Outlook in the same way - ie there seems to be a big problem with changing folders currently in any way other than with control+shift+tab.

 

On Thu, Sep 14, 2017 at 10:46 PM, Steve Nutt <steve@...> wrote:

Hi,

 

I think we all do.  NVDA 2017.3 just doesn’t like you switching folders.  Is that the problem you mean?  JAWS crashes Outlook, but NVDA does it much more.

 

All the best

 

Steve

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Sam Bushman
Sent: 14 September 2017 00:35


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 


Quentin Christensen
 

Ok thanks - it definitely seems to be something that has changed in Outlook, so I was just curious whether it affected other AT as well.

It does seem to happen when I am using Narrator as well.  I tried it without any AT running, and it's fine, I can press control+2, control+1 all day* to jump between folders, click on folders, use control+y to my heart's content.  As soon as I load NVDA or Narrator and try, it crashes.

Ok, something to keep looking into anyway.

Regards

Quentin.
*ok I didn't actually repeat those keystrokes all day.

On Fri, Sep 15, 2017 at 11:36 AM, Sam Bushman <libertyroundtable@...> wrote:

I can use latest jaws with ctrl-y and outlook 2016 just fine.

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Thursday, September 14, 2017 5:53 PM


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Steve, out of curiosity, does Jaws crash Outlook in the same way - ie there seems to be a big problem with changing folders currently in any way other than with control+shift+tab.

 

On Thu, Sep 14, 2017 at 10:46 PM, Steve Nutt <steve@...> wrote:

Hi,

 

I think we all do.  NVDA 2017.3 just doesn’t like you switching folders.  Is that the problem you mean?  JAWS crashes Outlook, but NVDA does it much more.

 

All the best

 

Steve

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Sam Bushman
Sent: 14 September 2017 00:35


To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

Hi Quentin,

 

I have a huge problem with outlook 2016 and nvda. I have posted on this list about it.

Can I email you off list to see if you can help resolve?

 

Thanks,

Sam

 

 

From: nvda@nvda.groups.io [mailto:nvda@nvda.groups.io] On Behalf Of Quentin Christensen
Sent: Wednesday, September 13, 2017 5:33 PM
To: nvda@nvda.groups.io
Subject: Re: [nvda] Nvda Scripting and virtual document

 

There are likely folks in here who can help, but the NVDA-devel group is likely a better place to post those kinds of questions.

 

On Wed, Sep 13, 2017 at 11:28 PM, Sampa <scratchoun8@...> wrote:

Hi,

Thank you for your fast reply.

I've already made a few scripts for some non-web application, and I used the links above. But I can't find any documentation or examples on how to deal with virtual documents.

I've also searched in NVDA sources or in some plugins, but I don't understand how to proceed to catch the Dom object and how to work with it.

Best regards,

Sampa



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 



 

--

Quentin Christensen
Training and Support Manager

 

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

 

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess 




--
Quentin Christensen
Training and Support Manager

Official NVDA Training modules and expert certification now available: http://www.nvaccess.org/shop/

Facebook: http://www.facebook.com/NVAccess 
Twitter: @NVAccess