Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tweak GetChildObjects routine
#13
or replace the a.Find(hwndFF "DOCUMENT" ... line with
Function FirefoxGetTabs
Code:
Copy      Help
#if QMVER<0x2030400
a.Find(hwndFF "DOCUMENT" "" "" 0x3000 0 0 "pa3fi")
err
,a.Find(hwndFF "DOCUMENT" "" "" 0x1010 1 0 "pa3fi")
,err a.Find(hwndFF "" "" "" 0x3010 1 0 "pa4fi")
#else
a.Find(hwndFF "" "" "" 0x3000 2 0 "pa3fi")
#endif
It will be slower only if current tab is "New Tab" (no "DOCUMENT")

or
Function FirefoxGetTabs
Code:
Copy      Help
#if QMVER<0x2030400
a.Find(hwndFF "DOCUMENT" "" "" 0x3000 0 0 "pa3fi")
err a.Find(hwndFF "" "" "" 0x3010 1 0 "pa4fi")
#else
a.Find(hwndFF "" "" "" 0x3000 2 0 "pa3fi")
#endif


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)