Viktor
Viktor

Reputation: 722

Not working imacros.js file

Script not going to URL'S from CSV file, what i'm doing wrong? Script not giving any errors.

 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"; 

Upvotes: 1

Views: 260

Answers (1)

edinvnode
edinvnode

Reputation: 3537

 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)

Upvotes: 1

Related Questions