Click "Add selected" in blogger image upload

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
techimac
Posts: 286
Joined: Fri Feb 20, 2015 9:27 pm

Click "Add selected" in blogger image upload

Post by techimac » Wed Nov 28, 2018 10:03 am

Code: Select all

TAG POS=2 TYPE=IFRAME ATTR=CLASS:picker-frame EXTRACT=HTM
SET ID EVAL("var x='{{!EXTRACT}}'; var pos1=x.indexOf('name=');var pos2=x.indexOf('id',pos1);x.substr(pos1+6,pos2-pos1-8);")
FRAME NAME={{ID}}
EVENT TYPE=CLICK SELECTOR=\"#picker\\:ap\\:0\" BUTTON=0
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=TXT:OK
This doesnt work unless I manually do process first

iMacros 8.9.7
Windows 8.1
Firefox 47
techimac
Posts: 286
Joined: Fri Feb 20, 2015 9:27 pm

Re: Click "Add selected" in blogger image upload

Post by techimac » Wed Nov 28, 2018 11:29 am

My mistake

Code: Select all

EVENT TYPE=CLICK SELECTOR=\"#picker\\:ap\\:0\" BUTTON=0
should be

Code: Select all

EVENT TYPE=CLICK SELECTOR="#picker\\:ap\\:0" BUTTON=0
but code still dont work

following worked on palemoon

Code: Select all

FRAME F=5
EVENT TYPE=CLICK SELECTOR="#picker\\:ap\\:0" BUTTON=0
FRAME F=0
TAG POS=1 TYPE=BUTTON ATTR=TXT:OK
Post Reply