Hi All,
This is probably over my head, but I'm trying to get the script to
run on Sonar x3.
Anyways, I read the NVDA addon developer guide, and started to play
around with the script on Sonar x3.
I added AccessibilityMode key with value 3 on the registry.
Looking at the script, it seems like it depends on Cwaccess, but
there are two possible values for Cwaccess. Should I use 2 or 3?
Ctrl+shift+n seems to report the name of the track. However, once I
rename the track, it stops reporting.
What should I change in the script in order to make it work?
Maybe the view is not recognized as the right class?
I'm including the debug before and after below, and I'm using NVDA
master snapshot.
Thanks,
Chi
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo
(21:37:00):
Developer info for navigator object:
name: u'Bus'
role: ROLE_PANE
states: STATE_FOCUSABLE, STATE_FOCUSED
isFocusable: True
hasFocus: True
Python object: <appModules.sonar.BusPane object at 0x04E6B0B0>
Python class mro: (<class 'appModules.sonar.BusPane'>, <class
'appModules.sonar.TrackOrBusPane'>, <class
'appModules.sonar.CwaccessView'>, <class
'NVDAObjects.IAccessible.IAccessible'>, <class
'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>,
<class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)
description: None
location: (231, 253, 351, 0)
value: u'2\nMetronome'
appModule: <'sonar' (appName u'sonarpdr', process ID 3244) at
address 4e729f0>
appModule.productName: u'SONAR X3 Producer'
appModule.productVersion: u'X3e'
TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>
windowHandle: 5898976
windowClassName: u'CTVBaseView'
windowControlID: 59696
windowStyle: 1375731712
windowThreadID: 3496
windowText: u'Bus Pane'
displayText: u''
IAccessibleObject: <POINTER(IAccessible) ptr=0x8f5ef40 at 4e54670>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=5898976, objectID=-4,
childID=0
IAccessible accName: u'Bus Pane'
IAccessible accRole: ROLE_SYSTEM_CLIENT
IAccessible accState: STATE_SYSTEM_FOCUSED, STATE_SYSTEM_FOCUSABLE,
STATE_SYSTEM_VALID (1048580)
IAccessible accDescription: None
IAccessible accValue: None
After renaming
INFO - globalCommands.GlobalCommands.script_navigatorObject_devInfo
(21:43:12):
Developer info for navigator object:
name: u'Metronome on Bus B'
role: ROLE_UNKNOWN
states: STATE_FOCUSABLE, STATE_FOCUSED
isFocusable: True
hasFocus: 1
Python object: <NVDAObjects.UIA.UIA object at 0x04E43BB0>
Python class mro: (<class 'NVDAObjects.UIA.UIA'>, <class
'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>,
<class 'baseObject.ScriptableObject'>, <class
'baseObject.AutoPropertyObject'>, <type 'object'>)
description: u'Metronome@2'
location: (298, 279, 94, 22)
value: u''
appModule: <'sonar' (appName u'sonarpdr', process ID 3244) at
address 4e729f0>
appModule.productName: u'SONAR X3 Producer'
appModule.productVersion: u'X3e'
TextInfo: <class 'NVDAObjects.NVDAObjectTextInfo'>
windowHandle: 4522890
windowClassName: u'CTVStripBase'
windowControlID: 176043104
windowStyle: 1174405120
windowThreadID: 3496
windowText: u'Metronome'
displayText: u''
UIAElement: <POINTER(IUIAutomationElement) ptr=0x2e76cc8 at 4f5ba30>
UIA automationID: 12
UIA frameworkID:
UIA runtimeID: (42, 4522890, 2, 12)
UIA providerDescription: [pid:3244,hwnd:0x0 Main(parent
link):Unidentified Provider (unmanaged:SONARPDR.exe)]
UIA className:
--
Mailing list: https://launchpad.net/~nvda-sonar-users
Post to : nvda-sonar-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~nvda-sonar-users
More help : https://help.launchpad.net/ListHelp