can imacro FF(free ver) and cvs work ?

whiteshark

Junior Member
Joined
Sep 12, 2010
Messages
102
Reaction score
6
if yes so how ?
or it is a must to buy the "Scripting Edition" for using cvs in FF ?
 
here ya go. This is the way to get iMacros for FF to pull data from a .csv file.


VERSION BUILD=6240709 RECORDER=FX


SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES

'PUT YOUR .CSV FILE IN THIS FOLDER
SET !DATASOURCE C:\macros\Datasources\filename.csv

'SET THE COLUMNS NUMBER TO MATCH THE # OF COLUMNS USED IN YOUR CSV FILE
SET !DATASOURCE_COLUMNS 12

SET !DATASOURCE_LINE {{!LOOP}}

TAB T=1

URL GOTO={{!COL1}}
 
yes i can confirm that you can use csv with the free FF plugin. You define the folders that data files are by going to the options etc. If you dont change anything you put your files in documents/imacros/datasources and then you just write:

SET !DATASOURCE file.csv
 
here ya go. This is the way to get iMacros for FF to pull data from a .csv file.


VERSION BUILD=6240709 RECORDER=FX


SET !ERRORIGNORE YES
SET !ERRORCONTINUE YES

'PUT YOUR .CSV FILE IN THIS FOLDER
SET !DATASOURCE C:\macros\Datasources\filename.csv

'SET THE COLUMNS NUMBER TO MATCH THE # OF COLUMNS USED IN YOUR CSV FILE
SET !DATASOURCE_COLUMNS 12

SET !DATASOURCE_LINE {{!LOOP}}

TAB T=1

URL GOTO={{!COL1}}
sorry for delay. i put it exactly as you wrote but it don't work. file placed with url in first cell in file filename.csv in the Datasources folder. how can i debug the problem ?
 
sorry for delay. i put it exactly as you wrote but it don't work. file placed with url in first cell in file filename.csv in the Datasources folder. how can i debug the problem ?

Use play loop to use csv. There is sample csv demo on standard imacros iim data, you can learn it.
 
sorry for delay. i put it exactly as you wrote but it don't work. file placed with url in first cell in file filename.csv in the Datasources folder. how can i debug the problem ?

Try the following:
  • Make sure you have set datasource columns to one.
  • Make sure that the file is correctly saved as a csv. Its size should be no more than a kb or two.
  • Check you filepath if its alright. If you have spaces anywhere in the filepath, you must replace them with "<SP>".
 
also make sure, that your .csv looks like this if you open with text editor:

"data1","data2","data"
"data3","data4","data6"

also: for some reason all lines must be the has some value in all columns.
 
Check you filepath if its alright. If you have spaces anywhere in the filepath, you must replace them with "<SP>".
how to do it?
 
how to do it?

Hey whiteshark,

Let's suppose the Path to your csv is:
Code:
C:\Documents and Settings\All Users\Desktop\urls.csv

In this case, you must replace all the "spaces" with "<SP>" for it to work properly. The path to be written in the macro, thus, is:
Code:
C:\Documents<SP>and<SP>Settings\All<SP>Users\Desktop\urls.csv

Hope that Helps.
 
Hey whiteshark,

Let's suppose the Path to your csv is:
Code:
C:\Documents and Settings\All Users\Desktop\urls.csv
In this case, you must replace all the "spaces" with "<SP>" for it to work properly. The path to be written in the macro, thus, is:
Code:
C:\Documents<SP>and<SP>Settings\All<SP>Users\Desktop\urls.csv
Hope that Helps.

Standard Toaster
it is understood. i mean that i have text or cvs file.should i always go and by hand replace "spaces" with "<SP>" . i want to autofill form so i need some way to process an text or cvs files so it will work.
 
Hello again white,

Not sure if I understand your question correctly. But I'll try.

First off, its not cvs, its CSV (Comma Seperate Values). You do not have to replace any spaces within the file contents if that's what you mean. You just have to replace the spaces from the file path you provide to your macro.
 
Hello again white,

Not sure if I understand your question correctly. But I'll try.

First off, its not cvs, its CSV (Comma Seperate Values). You do not have to replace any spaces within the file contents if that's what you mean. You just have to replace the spaces from the file path you provide to your macro.
o.k. o.k. this was undertood.

but inside the csv file. should i replace spaces in text too ?
 
another question: in my cvs are the address(local ) of th text ( *.txt ) file. can i open it
 
Last edited:
another question: in my cvs are the address(local ) of th text ( *.txt ) file. can i open it


what do you mean?

you can direct use txt file.. why you put add and use it from csv?

if you try to upload file than it's okay otherwise use direct

~zelma
 
what do you mean?

you can direct use txt file.. why you put add and use it from csv?

if you try to upload file than it's okay otherwise use direct

~zelma
because the spinner create a lot body and title pages ( txt pages ). then i post i want to get an unique article.are there any other option to post an spinned articles ?
 
Back
Top