iMacros:用户定义的变量在!COLn? [英] iMacros: user defined variables within !COLn?

查看:168
本文介绍了iMacros:用户定义的变量在!COLn?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种可能性,让用户选择脚本在 {{!!COLn}} 部分中使用的CSV输入中的哪一列。 p>

I'm looking for a possibility to let a user choose what column of his CSV input the script should use in the {{!COLn}} part.

PROMPT "Please enter CSV column:" !VAR1

SET !DATASOURCE C:\User\Desktop\Test\testsource.csv
SET !DATASOURCE_COLUMNS 100
SET !DATASOURCE_LINE {{i}}

URL GOTO=http://www.somewebsite.com
TAG POS=1 TYPE=BUTTON ATTR=TXT:123:<SP>*
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=* CONTENT={{!COLn}}
TAG POS=1 TYPE=TD ATTR=TXT:{{!COLn}} 

n !COLn 应设置为用户定义的变量!VAR1 。我现在知道如何!感谢所有建议。

n in !COLn should be set to the user defined variable !VAR1. I got now clue how! Thanks for all advices.

推荐答案

不是一个简单的答案,但你可以创建一个PHP网站矩阵/数据集,并有一个简单的url接口www.mysite.com/index.php?loop={{!LOOP}}&col={{!VAR1}}返回您想要的值

Not a simple answer but you can create a php website (even for free), add a NXM matrix/dataset to it and have a simple url interface www.mysite.com/index.php?loop={{!LOOP}}&col={{!VAR1}} to return the value you want

这篇关于iMacros:用户定义的变量在!COLn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆