I am using iMacros for firefox with javascript engine. And need to save a couple of informations that i have in text format...
This information is not data extracted. This is a simple text generated by manipulating strings.
There are a way to save a text file with iMacros ?
I try to add the text content to !EXTRACT and then use SAVEAS TYPE=EXTRACT but, my text has special chars like TABs ( \t ) and LINEFEEDs ( \n ) then not works...
The code below saves content without error:
Code: Select all
var file_content="content";
var mm="CODE:";
mm+="\nADD !EXTRACT "+file_content;
mm+="\nSAVEAS TYPE=EXTRACT FOLDER=* FILE=file.txt";
iimPlay(mm);
My environment: Windows 7 64 Bits
Browser: Mozilla Firefox 47.0
iMacros: 8.9.7