04-19-2005, 02:10 PM
To insert command that opens web page, use the Open Web Page dialog. Select 'Wait for final URL' and specify the URL that must be when the correct page is loaded. Select 'On error: execute following (tab-indented) code'. This inserts the web command followed by err. Example:
Or, only select 'Wait while page is loading'. Then check window title. Example:
;This probably will succeed
web "http://www.quickmacros.com/" 0x11 0 "*"
err
,mes "url 1 failed"
;This probably will fail, and message box will be displayed
web "http://www.quickmacros.com/hkhkhkhlkh.htm" 0x11 0 "*"
err
,mes "url 2 failed"
Or, only select 'Wait while page is loading'. Then check window title. Example: