iMacros:"ONDOWNLOAD FILE=mention.jpg" 不更改文件名

iMacros: "ONDOWNLOAD FILE=mention.jpg" doesn't change the file name

我有这个宏:

VERSION BUILD=8890130 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SPAN ATTR=CLASS:icon-bwdownload<SP>componentHeader--icon&&TXT:
ONDOWNLOAD FOLDER=* FILE=mention.jpg WAIT=YES
TAG POS=1 TYPE=A ATTR=TXT:Excel

文件下载没有问题,但脚本应该更改文件名。但是,名称没有更改。我做错了什么?

这不会更改文件名。从来没有!

VERSION BUILD=8890130 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SPAN ATTR=CLASS:icon-bwdownload<SP>componentHeader--icon&&TXT:
ONDOWNLOAD FOLDER=* FILE=mention.jpg WAIT=YES
TAG POS=1 TYPE=A ATTR=TXT:Excel

这会。

VERSION BUILD=8890130 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=SPAN ATTR=CLASS:icon-bwdownload<SP>componentHeader--icon&&TXT:
ONDOWNLOAD FOLDER=* FILE=+{{!NOW:yymmdd}}mention.jpg WAIT=YES
TAG POS=1 TYPE=A ATTR=TXT:Excel

在 10.3 及之前的版本中,您只能在文件名中添加内容:

"Normally the download file name is created automatically by the website. You can add parts to the original file name by using the + syntax (see Examples). The built-in variable !NOW is helpful in this context."

从后续版本开始,您应该可以更改整个名称。