Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar with Webbrowser - possible to have web flags
#4
When a function (eg Navigate) forces the macro to wait, and during that time the macro must execute some code, place the code into another function and run it using mac.

Code:
Copy      Help
...
a.Navigate("about:blank")
mac "func2"
a.Navigate("somewhere") ;;waits
...

Function func2:
Code:
Copy      Help
Do something. Navigate is waiting now.

---

Or call the function (which forces the macro to wait) from another function launched using mac.

Code:
Copy      Help
...
a.Navigate("about:blank")
mac "func2"
0.1
Do something. func2 is running now.
...

Function func2:
Code:
Copy      Help
web "somewhere" 0 win("TOOLBAR_NAME_UPPERCASE" "QM_toolbar")

---

Not tested. Just hints.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)