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
Basically search on website from .txt file, click first link, with some WAIT SECONDS intervals in it.
He wants to loop through a file, so you using that variable for imacros to do that...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.
From what I understood he was having list of urls... click on every first link upon accessing each
URL GOTO=https://a.com
URL GOTO=https://b.com
TAG POS=1 TYPE=A ATTR=TXT:Hello<SP>World<SP>:*
TAG POS=1 TYPE=A ATTR=CLASS:link&&TXT:Sorry<SP>this*
Really? so from my sentence, you see that my problem was the variable? and i don't know about imacros variable? ok bbHe 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
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 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 txtFrom what I understood he was having list of urls... click on every first link upon accessing each
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.
Well, since you don't know what he wants to click then that code is too general for him a i thinkMy 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.
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.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