07-14-2007, 10:22 AM
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.
Function func2:
---
Or call the function (which forces the macro to wait) from another function launched using mac.
Function func2:
---
Not tested. Just hints.
Function func2:
---
Or call the function (which forces the macro to wait) from another function launched using mac.
...
a.Navigate("about:blank")
mac "func2"
0.1
Do something. func2 is running now.
...
Function func2:
---
Not tested. Just hints.