iMacros Help

Status
Not open for further replies.

rogerke

Regular Member
Joined
Oct 5, 2014
Messages
271
Reaction score
146
Need some iMacros help with a script.

Basically search on website from .txt file, click first link, with some WAIT SECONDS intervals in it.

Just 2 minutes work, 5 USD.
 
SET !DATASOURCE something.txt
SET !DATASOURCE_COLUMN 10
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
TAG POS=1 TYPE=A ATTR=*
WAIT SECONDS=1

There you go
 
SET !DATASOURCE something.txt
SET !DATASOURCE_COLUMN 10
SET !DATASOURCE_LINE {{!LOOP}}
URL GOTO={{!COL1}}
TAG POS=1 TYPE=A ATTR=*
WAIT SECONDS=1

There you go

URL GOTO={{!COL1}} why ? it's URL GOTO=http://google.com
Col 1 has the keyword that should be searched for in google

PM me i can help in imacros
 
URL GOTO={{!COL1}} why ? it's URL GOTO=http://google.com
Col 1 has the keyword that should be searched for in google

PM me i can help in imacros

From what I understood he was having list of urls... click on every first link upon accessing each

Basically search on website from .txt file, click first link, with some WAIT SECONDS intervals in it.
 
URL GOTO={{!COL1}} why ? it's URL GOTO=http://google.com
Col 1 has the keyword that should be searched for in google

PM me i can help in imacros
He wants to loop through a file, so you using that variable for imacros to do that...
Sorry, but you are offering help and you do not know the variables iMacros uses?

OP
Just record the process one time, then use what someone provided here to put it in a loop or just search on imacros documentation.
 
He wants to loop through a file, so you using that variable for imacros to do that...
Sorry, but you are offering help and you do not know the variables iMacros uses?

OP
Just record the process one time, then use what someone provided here to put it in a loop or just search on imacros documentation.

If this was the case
From what I understood he was having list of urls... click on every first link upon accessing each

Then its impossible to record it.. imacros will return code for each url separately like so.
Code:
URL GOTO=https://a.com
URL GOTO=https://b.com

Record-clicking first link will give out specific code for only that case like so.
Code:
TAG POS=1 TYPE=A ATTR=TXT:Hello<SP>World<SP>:*
TAG POS=1 TYPE=A ATTR=CLASS:link&&TXT:Sorry<SP>this*

I think that's why he comes over here asking for help.
 
He wants to loop through a file, so you using that variable for imacros to do that...
Sorry, but you are offering help and you do not know the variables iMacros uses?

OP
Just record the process one time, then use what someone provided here to put it in a loop or just search on imacros documentation.
Really? so from my sentence, you see that my problem was the variable? and i don't know about imacros variable? ok bb
That person got what i mean when you didn't so keep calm and move on.
 
If this was the case


Then its impossible to record it.. imacros will return code for each url separately like so.
Code:
URL GOTO=https://a.com
URL GOTO=https://b.com

Record-clicking first link will give out specific code for only that case like so.
Code:
TAG POS=1 TYPE=A ATTR=TXT:Hello<SP>World<SP>:*
TAG POS=1 TYPE=A ATTR=CLASS:link&&TXT:Sorry<SP>this*

I think that's why he comes over here asking for help.

Yes, of course. But what is a loop? A sequence of single actions where a variable changes but the action tends to stay the same (to simplify it)

- The action stays the same it sounds like so take that from recording.
- The URL changes so pull that from the csv file

You already posted it for him. But the process for him is the same next time (if he wants to learn)

- Record single action
- Look at the loop documentation from imacros

voila ...

But your code should be pretty much it for him. Have not used it in long time so don';t know if anything changed,
 
From what I understood he was having list of urls... click on every first link upon accessing each
Yes you quoted it right he said search (we search keywords not links) if what in the txt is link we would say enter link from txt
Then he said to click on the first link so we have a search job from keyword and the link will be clicked from the search page
 
Really? so from my sentence, you see that my problem was the variable? and i don't know about imacros variable? ok bb
That person got what i mean when you didn't so keep calm and move on.

My bad I overlooked you mentioned col1 as being the keyword, but OP never mentioned what is what, so the reply just defined col1 for the URL , the term could be the same so no need to use a variable for a constant.

Anyway, the reply posted above should be enough to get it done for op as it's just a simple thing he is trying to automate.
 
My bad I overlooked you mentioned col1 as being the keyword, but OP never mentioned what is what, so the reply just defined col1 for the URL , the term could be the same so no need to use a variable for a constant.

Anyway, the reply posted above should be enough to get it done for op as it's just a simple thing he is trying to automate.
Well, since you don't know what he wants to click then that code is too general for him a i think
He should provide at least the html code of that element
 
Well, since you don't know what he wants to click then that code is too general for him a i think
He should provide at least the html code of that element
Yeah that's why he should just record the click and use the other loop code, he should be able to do this with the info people gave him here.
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top