08-13-2004, 03:07 PM
You can use function HtmlFind (requires QM 2.1.4 or later). This whole macro can be rewritten to use html element actions instead of keys. Or, just use it to wait for some html element that is in the response page. Example:
If the response page is displayed in a new window, at first wait for that window:
...
'TTTTTTTTTTTVTTTTTTTVTVTVTVTVY
;here, open "Find html element" dialog, find some element in the response page, and specify a wait time. Example:
MSHTML.IHTMLElement el=HtmlFind(...... 138)
'TTTTTY
...
If the response page is displayed in a new window, at first wait for that window: