variable {{!colN}} - I promise my boss

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
vajavaja16
Posts: 4
Joined: Thu May 03, 2018 1:29 pm

variable {{!colN}} - I promise my boss

Post by vajavaja16 » Fri May 04, 2018 11:50 am

Hello I am trying to solve this problem too much time and please help me
I promise my boss that I will do some bot but I have this problem

So i want to go on use varieble colN
I tryied everyithing I think

this code dont gives me value from

Code: Select all

VERSION BUILD=10.0.501.6698
TAB T=1
TAB CLOSEALLOTHERS
SET !DATASOURCE category.csv
SET !DATASOURCE_LINE 2
URL GOTO=http://xuxup.com/email/gela.php?id=2
TAG POS=1 TYPE=* ATTR=* EXTRACT=TXT
SET !VAR2 EVAL("var s=\"{{!EXTRACT}}\"; var x='{{!col' + s + '}}'; x;")
prompt {{!VAR2}}
This code is doing same, only gives me {{!col2}} and dont gives me value

Code: Select all

set !var1 {{!col16}}
SET !var3 EVAL("var r='{{!var1}}'; var x='{{!col' + r + '}}'; x;")
PROMPT Var_N:<SP>_{{Var_N}}_{{!Var1}}
TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:Address CONTENT={{!var3}}
I tried this and this code takes url from home page.

Code: Select all

macro += "tab open" + "\n";
macro += "tab t=2" + "\n";
macro += "URL GOTO=http://example.com/email/gela.php/{{!col16}}" + "\n";
var url = window.location.pathname;
var id = url.substring(url.lastIndexOf('/') + 1);
macro += "tab close" + "\n";
macro += "tab t=1" + "\n";

I really need help, pleasee
User avatar
thecoder2012
Posts: 248
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: variable {{!colN}} - I promise my boss

Post by thecoder2012 » Thu May 10, 2018 12:32 am

vajavaja16 wrote:I really need help, pleasee
Use pure Javascript for all CSV files and not only your IIM-Code.
With 10.0.501.6698 you can use Javascript in one new Tab in your Browser. One example by you is with iMacros Browser and one snippet for iMacros for Firefox? :shock:
See your other thread under https://forum.imacros.net/viewtopic.php?f=7&t=28871
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Post Reply