SAVEAS and iimGetLastExtract()?

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

SAVEAS and iimGetLastExtract()?

by erikcw on Fri Dec 02, 2005 8:59 am

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.
erikcw
 
Posts: 34
Joined: Sun Nov 13, 2005 10:08 am

by Tech Support on Fri Dec 02, 2005 1: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}}
User avatar
Tech Support
 
Posts: 5003
Joined: Tue Sep 20, 2005 12:25 pm


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 3 guests

-->