Extract Data in CSV COL

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
mzuske
Posts: 24
Joined: Fri Aug 29, 2008 3:07 pm

Extract Data in CSV COL

Post by mzuske » Thu Jan 14, 2010 11:06 am

hi there - this forum is very great - i have become a lot of help with some smal (for me big) problems and questions....
now i have a nother one....

is it possible to extract data directly in a csv col?!

this is my maco:
.....
URL GOTO=WEBSITE/index.php/?ac=search&anf={{!COL1}}&ac2=all
TAG POS=1TYPE=A ATTR=HREF:http://www.website.com/profil/*?ac=profil&u_id=* EXTRACT=HREF
SAVEAS TYPE=EXTRACT FOLDER=c:\temp\ FILE=test.csv
URL GOTO=WEBSITE/index.php/?ac=search&anf={{!COL1}}&ac2=all
TAG POS=2 TYPE=A ATTR=HREF:http://www.website.com/profil/*?ac=profil&u_id=* EXTRACT=HREF
SAVEAS TYPE=EXTRACT FOLDER=c:\temp\ FILE=test.csv
URL GOTO=WEBSITE/index.php/?ac=search&anf={{!COL1}}&ac2=all
TAG POS=3 TYPE=A ATTR=HREF:http://www.website.com/profil/*?ac=profil&u_id=* EXTRACT=HREF
SAVEAS TYPE=EXTRACT FOLDER=c:\temp\ FILE=test.csv
URL GOTO=WEBSITE/index.php/?ac=search&anf={{!COL1}}&ac2=all
TAG POS=4 TYPE=A ATTR=HREF:http://www.website.com/profil/*?ac=profil&u_id=* EXTRACT=HREF
SAVEAS TYPE=EXTRACT FOLDER=c:\temp\ FILE=test.csv

and i want to save every url in a serperate col of the test.csv

is this possible?!

thanks for help
ABooth
Posts: 223
Joined: Mon Aug 10, 2009 4:25 pm

Re: Extract Data in CSV COL

Post by ABooth » Thu Jan 14, 2010 4:47 pm

See the SAVEAS command

Code: Select all

SAVEAS TYPE=EXTRACT FOLDER=C:\My<SP>Folder FILE=Test<SP>Results.csv
iMacros for Firefox supports JavaScript Macros (Scripting)
JavaScript supports Java via LiveConnect

Therefore: You can write powerful macros with iMacros for Firefox. Have a look at this one

Post feature requests here. Maybe one day, they'll pin it?
mzuske
Posts: 24
Joined: Fri Aug 29, 2008 3:07 pm

Re: Extract Data in CSV COL

Post by mzuske » Sat Jan 16, 2010 12:00 am

thanks - i can save the extract URLs in a CSV...

but i want to save every URL in a seperate CSV COL - for example the POS 1 URL in COL1 and POS 2 URL in COL2 and so on....
ABooth
Posts: 223
Joined: Mon Aug 10, 2009 4:25 pm

Re: Extract Data in CSV COL

Post by ABooth » Mon Jan 18, 2010 2:39 am

That's what it will do, if you have them all in !EXTRACT
iMacros for Firefox supports JavaScript Macros (Scripting)
JavaScript supports Java via LiveConnect

Therefore: You can write powerful macros with iMacros for Firefox. Have a look at this one

Post feature requests here. Maybe one day, they'll pin it?
Post Reply