Here's an example in a macro I use to save tab pages. For some web pages, the first method fails and in such cases, I want to resort to the alternative method - the one commented out:
Code: Select all
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=TITLE ATTR=TXT:* EXTRACT=TXT
SAVEAS TYPE=HTM FOLDER="U:\jerry\music\info" FILE={{!EXTRACT}}_info
'If the above approach triggers an error on a given web page, I then want to do this alternative:
'SAVEAS TYPE=HTM FOLDER="U:\jerry\download\media\CD-RAR\SessionPages" FILE=+_info
TAB CLOSE