spruitje
Junior Member
- Oct 8, 2011
- 138
- 64
I have been working on a macro that scrapes content html code and saves it to .txt. The basic format looks like this:
The problem is that the part that I want saved in one txt file consists of several EXTRACT's.
When I saveas, the different parts get separated by "," which ofcourse shows up when I use the txt file later.
Is it possible to save different parts from imacro without a separator, or do I have to use find/replace in each txt file(1000's)?
Does anyone have a quick fix/ work around for this problem?
Code:
TAG POS=1 TYPE=P ATTR=TXT:text1 EXTRACT=HTM
TAG POS=1 TYPE=P ATTR=TXT:text2 EXTRACT=HTM
TAG POS=1 TYPE=P ATTR=TXT:text3 EXTRACT=HTM
SAVEAS TYPE=EXTRACT FOLDER=C:\iMacros\scraped\ FILE=Extract_{{test}}.txt
The problem is that the part that I want saved in one txt file consists of several EXTRACT's.
When I saveas, the different parts get separated by "," which ofcourse shows up when I use the txt file later.
Is it possible to save different parts from imacro without a separator, or do I have to use find/replace in each txt file(1000's)?
Does anyone have a quick fix/ work around for this problem?