Bugzilla – Attachment 383057 Details for
Bug 631348
ComcoBox: Contents in ListItem Aren't Accessible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
pyatspi script.
combobox.py (text/x-python), 656 bytes, created by
Neville Gao
on 2010-08-16 04:24:02 UTC
(
hide
)
Description:
pyatspi script.
Filename:
MIME Type:
Creator:
Neville Gao
Created:
2010-08-16 04:24:02 UTC
Size:
656 bytes
patch
obsolete
>#!/usr/bin/env python > >import pyatspi >import time >import subprocess as s >import sys > >desktop = pyatspi.Registry.getDesktop(0) >firefox = pyatspi.findDescendant(desktop, lambda x: x.name == 'Firefox' and x.getRoleName() == 'application') >sl_ctrl = pyatspi.findDescendant(firefox, lambda x: x.name == 'Silverlight Control' and x.getRoleName() == 'filler') > >combobox2 = pyatspi.findAllDescendants(sl_ctrl, lambda x: x.getRoleName() == 'combo box')[1] >combobox2_items = pyatspi.findAllDescendants(combobox2, lambda x: x.getRoleName() == 'list item') >print 'CheckBoxItem: %s' % combobox2_items[3].childCount >print 'ImageItem: %s' % combobox2_items[5].childCount
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 631348
: 383057