下面的代码实现了JavaScript调用iMacros写出字符串ING到文件的功能:

temp = "CODE:SET !EXTRACT ING\n";
temp = temp + "SAVEAS TYPE=EXTRACT FOLDER=\"C:\\doc\" FILE=finish.txt\n";
iimPlay(temp);

Related Posts: iMacro-JavaScript写出值到文件代码示例 :