08-23-2010, 04:45 PM
To do something for each related accessible object, we usually find the first object, and then repeatedly call Navigate to get next object, until error.
Acc a=acc(...) ;;find first object
rep
,;do something with a
,a.Navigate("xxxx"); err break ;;get next object
How to create the xxxx string:
you can see object relationships at the bottom of the 'Find accessible object' dialog;
you can create and test the string in the same dialog, 'Navigate' field.
-------
With html elements we would use different code. Maybe easier, maybe not, depends on the page. But need Internet Explorer.
Acc a=acc(...) ;;find first object
rep
,;do something with a
,a.Navigate("xxxx"); err break ;;get next object
How to create the xxxx string:
you can see object relationships at the bottom of the 'Find accessible object' dialog;
you can create and test the string in the same dialog, 'Navigate' field.
-------
With html elements we would use different code. Maybe easier, maybe not, depends on the page. But need Internet Explorer.
