本文介绍了iMacros不会在Tumblr图像文章上填充字幕和标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在post image部分中使用tumblr中的iMacros有问题。我正在使用Mac OS X Yosemite 10.10.4和Firefox 40.0.2的Macbook,这是我的问题:
当我处理我的代码是这样的时候,没有添加标题或标签内容:

I have a problem using iMacros within tumblr in post image section. I'm using a macbook with OS X Yosemite 10.10.4 and Firefox 40.0.2 and this is my problem:no caption or tags content is being added when I process my code which is this:

VERSION BUILD=8920312 RECORDER=FX
TAB T=1
TAG POS=1 TYPE=I ATTR=CLASS:icon_post_photo&&TXT:
TAG POS=1 TYPE=INPUT:FILE ATTR=NAME:photo CONTENT=/Users/me/Desktop/blabla.jpg
TAG POS=1 TYPE=P ATTR=TXT:
TAG POS=1 TYPE=P ATTR=TXT:xxxx
TAG POS=3 TYPE=DIV ATTR=TXT:​
TAG POS=1 TYPE=SPAN ATTR=TXT:xxx
TAG POS=1 TYPE=DIV ATTR=DATA-JS-CLICKABLESAVEDROPDOWN:&&CLASS:flat-button<SP>blue<SP>dropdown<SP>options<SP>icon_arrow_carrot_down<SP>pinned-target&&TXT:
TAG POS=1 TYPE=SPAN ATTR=TXT:Add<SP>to<SP>queue
TAG POS=1 TYPE=BUTTON ATTR=TXT:Queue

它只是加载,直到它给我运行时错误。

It just load till it gives me Runtime error.

任何建议,你可以给我。

Thank you very any advise you could give me.

推荐答案

以下是填写标题和标签的代码的一部分:

Here is a part of the code for filling caption and tags:

' ...
' wait to load the image
WAIT SECONDS=3
' caption
EVENT TYPE=CLICK SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV>P" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV" CHARS="My image caption"
WAIT SECONDS=0.5
' tag #1
EVENT TYPE=CLICK SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>DIV>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>DIV>DIV>DIV" CHARS="my tag1"
EVENTS TYPE=KEYPRESS SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV" CHARS=""
WAIT SECONDS=0.5
' tag #2
EVENT TYPE=CLICK SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>DIV>DIV>DIV" BUTTON=0
EVENTS TYPE=KEYPRESS SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(3)>DIV>DIV>DIV>DIV>DIV>DIV" CHARS="my tag2"
EVENTS TYPE=KEYPRESS SELECTOR="#new_post_buttons>DIV:nth-of-type(4)>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV>DIV:nth-of-type(2)>DIV:nth-of-type(2)>DIV>DIV>DIV" CHARS=""
WAIT SECONDS=0.5
' tags etc.
' ...

这篇关于iMacros不会在Tumblr图像文章上填充字幕和标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 11:55