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 search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
techimac
Posts: 287
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: 287
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