如何全选,复制和粘贴在iMacros中 [英] How to select-all, copy, and paste in iMacros

查看:227
本文介绍了如何全选,复制和粘贴在iMacros中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Firefox上使用了iMacros 9,并且在进行简单的全选,复制粘贴时遇到了残酷的困难.

I'm using iMacros 9 with Firefox, and I'm having a brutally difficult time doing a simple select-all, copy-paste.

VERSION BUILD=9030808 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=BUTTON ATTR=ID:share_on_stats
TAG POS=1 TYPE=BUTTON ATTR=TXT:comma-separated
##need to do select all, and copy here.
TAG POS=1 TYPE=DIV ATTR=ID:modal-close
TAB T=2
##need to paste what was copied here
##TAG POS=1 TYPE=TEXTAREA FORM=ID:myform ATTR=ID:paste_code CONTENT=ALL
TAB T=1
TAG POS=1 TYPE=A ATTR=TXT:Next<SP>page

有人有什么建议吗?我试过剪贴板,"EVENTS TYPE = KEYPRESS CHARS =" a"MODIFIERS =" ctrl和一些选择代码,但似乎无济于事.单击逗号分隔"后,页面使我进入带有txt的模式CSV,我需要复制.

Anyone have any suggestions? I've tried clipboard, "EVENTS TYPE=KEYPRESS CHARS="a" MODIFIERS="ctrl" and some selection codes but nothing seems to work. After the click into "comma-separated" the page puts me in a modal with a txt CSV i need to copy.

谢谢!

推荐答案

使用iMacros执行此类操作的一种较常见的方法是使用TAG ... EXTRACT命令提取需要复制"的文本. ,然后使用提取的数据(存储在!EXTRACT变量中)在另一个TAG命令的CONTENT参数中,该命令单击您要粘贴"的字段.

One of the more common ways to perform this type of operation with iMacros is to extract the text you need to 'copy' using a TAG...EXTRACT command, and then use the extracted data, which gets stored in the !EXTRACT variable, in the CONTENT parameter of another TAG command that clicks the field you want to 'paste' into.

我建议记录该模式内具有所需文本的单击,然后通过在其末尾添加EXTRACT = TXT来修改命令.接下来,像这样修改textarea字段的TAG命令:

I'd recommend recording a click somewhere inside that modal that has the text you need, and then modify the command by adding EXTRACT=TXT to the end of it. Next, modify the TAG command for the textarea field like so:

TAG POS=1 TYPE=TEXTAREA FORM=ID:myform ATTR=ID:paste_code CONTENT={{!EXTRACT}}

c.f. 如何使用iMacros复制并粘贴

这篇关于如何全选,复制和粘贴在iMacros中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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