不工作的imacros.js文件

时间:2015-10-03 16:40:50

标签: imacros

脚本不会从CSV文件转到URL',我做错了什么?脚本没有任何错误。

 var macro;
    macro =  "CODE:";
    macro +=  "SET !EXTRACT_TEST_POPUP NO" + "\n"; 
    macro +=  "SET !DATASOURCE Facebook_Groups.csv" + "\n"; 
    macro +=  "SET !DATASOURCE_COLUMNS 1000" + "\n";
    macro += "SET !LOOP 1" + "\n"; 
    macro +=  "SET !DATASOURCE_LINE {{!LOOP}}" + "\n"; 
    macro +=  "URL GOTO='{{!COL1}}'" + "\n"; 
    macro +=  "TAG POS=1 TYPE=I ATTR=CLASS:'img sp_sn-egcmZHgp sx_3e65cc'" + "\n"; 

1 个答案:

答案 0 :(得分:1)

 var macro;
    macro =  "CODE:";
    macro +=  "SET !EXTRACT_TEST_POPUP NO" + "\n"; 
    macro +=  "SET !DATASOURCE Facebook_Groups.csv" + "\n"; 
    macro +=  "SET !DATASOURCE_COLUMNS 1000" + "\n";
    macro += "SET !LOOP 1" + "\n"; 
    macro +=  "SET !DATASOURCE_LINE {{!LOOP}}" + "\n"; 
    macro +=  "URL GOTO='{{!COL1}}'" + "\n"; 
    macro +=  "TAG POS=1 TYPE=I ATTR=CLASS:img<sp>sp_sn-egcmZHgp<sp>sx_3e65cc" + "\n"; 


iimPlay(macro)