Closed

Need Help in Creating Macro Script for imacro for Firefox?

This project received 3 bids from talented freelancers with an average bid price of $9 USD / hour.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
N/A
Total Bids
3
Project Description

I want to change my static website to dynamic by saving information into database.

This is the Sample code from my static website.

Sample code for one page:

Japan
Apple
Apricot
Avocado
Korea
Banana
Blackberry
Malaysia
Cherry
Dragonfruit
Eggplant
Kiwi fruit


I want to save information into Table into two Columns Country and Fruits like this

Country Fruits
Japan Apple
Japan Apricot
Japan Avocado
Korea Banana
Korea Blackberry
Malaysia Cherry
Malaysia Dragonfruit
Malaysia Eggplant
Malaysia Kiwi fruit

i have a web form page through which i am saving information successfully into my database.

Here is my current macro code that copy data into it but there is problem that it saves Same Country with all Fruits, Because of position tag.

Current Macro Code:

VERSION BUILD=7601105
TAG POS={{!LOOP}} TYPE=A ATTR=HREF:../fruits/* EXTRACT=TXT
TAB T=2
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:[url removed, login to view] ATTR=NAME:fruit CONTENT={{!EXTRACT}}
TAB T=1
SET !EXTRACT NULL
TAG POS=1 TYPE=DIV ATTR=CLASS:country&&TXT:* EXTRACT=TXT
TAB T=2
TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:[url removed, login to view] ATTR=NAME:country CONTENT={{!EXTRACT}}
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:[url removed, login to view] ATTR=*
TAB T=1
SET !EXTRACT NULL

I want to know is there any possible way that the program checks the position of fruits URL and use the country DIV TAG above it.
or if anyone has best solution then please provide it.

Mozilla Firefox 20
imacro for Firefox 7.6.0.2
VERSION BUILD=7601105

I think this project will not take more than an hour or two.
My Maximum budget for this project is $15.
Thank you.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online