03-07-2012, 01:35 PM
Yes,
code: a.Find(hwndFF "DOCUMENT" "" "" 0x3011 2 0 "pa3fi")
finds PROPERTYPAGE of the first tab. Note that DOCUMENT is of current tab, it is often not of the first tab. We need first tab to start enumerating tabs. Then we enumerate PROPERTYPAGE for each tab. a.Navigate("fi2" gets DOCUMENT of that tab. We need it to get URL.
code: a.Find(hwndFF "DOCUMENT" "" "" 0x3011 2 0 "pa3fi")
finds PROPERTYPAGE of the first tab. Note that DOCUMENT is of current tab, it is often not of the first tab. We need first tab to start enumerating tabs. Then we enumerate PROPERTYPAGE for each tab. a.Navigate("fi2" gets DOCUMENT of that tab. We need it to get URL.