SAVEAS and iimGetLastExtract()?

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
erikcw
Posts: 34
Joined: Sun Nov 13, 2005 5:08 pm

SAVEAS and iimGetLastExtract()?

Post by erikcw » Fri Dec 02, 2005 3:59 pm

Hi,

I'm trying to save the results of extraction to a file, but also use iimGetLastExtract() in the scripting interface.

IM saves the file, but doesn't seem to return anything to scripting. Am I do something wrong? If SAVEAS clearn {{EXTRACT}}, there should be a variable setting available so that both actions can happen.
User avatar
Tech Support
Posts: 4948
Joined: Tue Sep 20, 2005 7:25 pm
Contact:

Post by Tech Support » Fri Dec 02, 2005 8:05 pm

SAVEAS clears the EXTRACT content. But you can work around this by temporarily storing the EXTRACT content in a variable:

Code: Select all

SET !VAR1 {{!EXTRACT}}
SAVEAS....
SET !EXTRACT {{!VAR1}}
Post Reply