Search found 293 matches

by techimac
Fri Sep 14, 2018 1:39 am
Forum: iMacros for Firefox
Topic: replace plus sign character with EVAL
Replies: 10
Views: 1014

Re: replace plus charcater with EVAL

Code: Select all

TAG POS=1 TYPE=META ATTR=itemprop:description EXTRACT=HTM
SET mAdd EVAL("var x='{{!EXTRACT}}';var pos1=x.indexOf('content=');var pos2=x.indexOf('itemprop',pos1);x.substr(pos1+9,pos2-pos1-11).trim();")
prompt {{mAdd}}
by techimac
Fri Sep 14, 2018 1:38 am
Forum: iMacros for Firefox
Topic: replace plus sign character with EVAL
Replies: 10
Views: 1014

Re: replace plus charcater with EVAL

I got the data from other HTML TAG in mean time.
by techimac
Fri Sep 14, 2018 12:37 am
Forum: iMacros for Firefox
Topic: replace plus sign character with EVAL
Replies: 10
Views: 1014

Re: replace plus charcater with EVAL

SET mAdd EVAL("var x='{{!URLCURRENT}}';x=x.split('place/')[1].split('/')[0];x.replace(/i/g, ' ');")
PROMPT {{mAdd}}


can replace "i" but not "+"
by techimac
Fri Sep 14, 2018 12:31 am
Forum: iMacros for Firefox
Topic: replace plus sign character with EVAL
Replies: 10
Views: 1014

Re: replace plus charcater with EVAL

I know replace can be added after second split
will do once I know correct format of replacement text
by techimac
Fri Sep 14, 2018 12:31 am
Forum: iMacros for Firefox
Topic: replace plus sign character with EVAL
Replies: 10
Views: 1014

replace plus sign character with EVAL

I am not able to make EVAL statement to replace + with a blank space https://www.google.com/maps/place/126+Wisconsin+Ave,+Columbus,+OH+43222,+USA/@39.960997,-83.0353897,17z/data=!3m1!4b1!4m5!3m4!1s0x88388f0bcde7eead:0x4861119f539b0dd4!8m2!3d39.960997!4d-83.033201 SET mAdd EVAL("var x='{{!URLCURRENT}...
by techimac
Mon Sep 03, 2018 7:58 am
Forum: iMacros for Firefox
Topic: Select Multiple Files
Replies: 2
Views: 483

Select Multiple Files

https://mergevideo.online/

Choose Files

How to select multiple files?


Firefox 52
Windows 8.1
iMacros 8.9.7
by techimac
Wed Aug 08, 2018 12:16 am
Forum: iMacros for Firefox
Topic: Detect Unqiue element between urls
Replies: 2
Views: 419

Re: Detect Unqiue element between urls

found element
checking for

Code: Select all

TAG POS=1 TYPE=A ATTR=TXT:Terms EXTRACT=TXT
from frame 1 to 20

Code: Select all

SET !TIMEOUT_PAGE 1
SET !ERRORIGNORE YES
FRAME F={{!loop}}
TAG POS=1 TYPE=A ATTR=TXT:Terms EXTRACT=TXT
by techimac
Wed Aug 08, 2018 12:06 am
Forum: iMacros for Firefox
Topic: Detect Unqiue element between urls
Replies: 2
Views: 419

Detect Unqiue element between urls

https://www.youtube.com/channel/UC4rlAVgAK0SGk-yTfe48Qpw/about https://www.youtube.com/channel/UCl3x43YzlP2RyWCNpOWV2oA/about Code find element in both urls TAG POS=1 TYPE=YT-FORMATTED-STRING ATTR=TXT:View<SP>email<SP>address EXTRACT=TXT If you click button you will see recaptcha I want element whi...
by techimac
Mon Jul 30, 2018 10:07 pm
Forum: Command Line and Scripting Interface
Topic: delete csv column
Replies: 8
Views: 2788

Re: delete csv column

Hum, and maybe easier would be to access the '.CVS' File from GoogleSheets...

What is the TAG command to read cell from GoogleSheet?
by techimac
Sun Jul 29, 2018 7:27 pm
Forum: iMacros for Firefox
Topic: Click Map
Replies: 1
Views: 477

Click Map

https://www.zillow.com/homes/for_sale/C ... ect/17_zm/

zoom in till you see blocks with prices
need code to click price and new data is displayed

Firefox 52
Windows 8.1
iMacros 8.9.7
by techimac
Wed Jul 18, 2018 1:18 pm
Forum: Command Line and Scripting Interface
Topic: Replace new line character
Replies: 1
Views: 853

Re: Replace new line character

SOLVED iimPlay('Code:' + 'SET !ERRORIGNORE YES \n' + 'TAG POS=1 TYPE=DIV ATTR=CLASS:keys-for-game<SP>centered-list EXTRACT=TXT \n' + 'SET CONTROLS EVAL("var x=\'{{!EXTRACT}}\'.trim();x=x.replace(/\\\\n+/g, \' \');for(var i=1;i<=2;i++){x=x.replace(\' \',\', \')};x") \n' + 'PROMPT {{CONTROLS}} \n' )
by techimac
Wed Jul 18, 2018 12:59 pm
Forum: Command Line and Scripting Interface
Topic: Replace new line character
Replies: 1
Views: 853

Replace new line character

https://www.y8.com/games/penthouse_pool iimPlay('Code:' + 'SET !ERRORIGNORE YES\n' + 'TAG POS=1 TYPE=DIV ATTR=CLASS:keys-for-game<SP>centered-list EXTRACT=TXT \n' + 'SET CONTROLS EVAL("var x=\'{{!EXTRACT}}\'.trim();x=x.replace(/[\\n\\r]/g, \'\');x=x.replace(\' \',\', \');x=x.replace(\' \',\', \');x...
by techimac
Fri Jul 13, 2018 7:41 am
Forum: Data Extraction and Web Screen Scraping
Topic: recording righ clicks in imacros
Replies: 3
Views: 2413

Re: recording righ clicks in imacros

how to simulate right click -save link as? Download button is not showing download prompt tried on this link https://www.y8.com/games/billiards EVENT TYPE=CLICK SELECTOR="#details>DIV:nth-of-type(4)>DIV>A:nth-of-type(5)>SPAN" BUTTON=2 EVENT TYPE=KEYPRESS SELECTOR="#details>DIV:nth-of-type(4)>DIV>A:n...