Re: Nvda Scripting and virtual document


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 

Join nvda@nvda.groups.io to automatically receive all group messages.