03-10-2011, 06:42 AM
Here acc searches for link containing text "item 1", then "item 2"...
If there are no links containing this text, acc throws error.
Remove err to see what is the error.
Usually, when you handle error with err, you should do something on error, for example
err continue
Otherwise next statement that uses a will throw error or use bad object.
Maybe the window (hwnd) is 0.
If there are no links containing this text, acc throws error.
Remove err to see what is the error.
Usually, when you handle error with err, you should do something on error, for example
err continue
Otherwise next statement that uses a will throw error or use bad object.
Maybe the window (hwnd) is 0.
