Search found 12 matches

by Co0oDe
Thu Sep 03, 2015 9:29 pm
Forum: Data Extraction and Web Screen Scraping
Topic: ReLoop File when end is reached
Replies: 7
Views: 2523

Re: ReLoop File when end is reached

i can't find any thing like that in the forum or google :|
by Co0oDe
Sun Aug 30, 2015 3:39 pm
Forum: Command Line and Scripting Interface
Topic: SyntaxError: missing (Eval)
Replies: 3
Views: 2237

Re: SyntaxError: missing (Eval)

Yep, I think you need to (Single, Double, Triple...?) escape the Double Quotes within the 'EVAL()'...
Yes you're right.
Correct Code:

Code: Select all

macro +=  "SET !VAR3 EVAL('Math.floor(Math.random()*256 + 1);')" + "\n"; 
by Co0oDe
Sat Aug 29, 2015 6:21 pm
Forum: Command Line and Scripting Interface
Topic: SyntaxError: missing (Eval)
Replies: 3
Views: 2237

SyntaxError: missing (Eval)

OS: WINDOWS 10 iMacros: VERSION BUILD=8920312 Browser: Firefox 39.0 --------------------------------------- i was trying to convert imacros to javascript... but i got that error SyntaxError: missing ; before statement, line 1 (Error code: -991) My Code macro += "SET !VAR3 EVAL("Math.floor(Math.rando...
by Co0oDe
Sun Aug 16, 2015 8:18 pm
Forum: Data Extraction and Web Screen Scraping
Topic: ReLoop File when end is reached
Replies: 7
Views: 2523

Re: ReLoop File when end is reached

thank you...

can you give me any example for eval code to do that?
by Co0oDe
Sat Aug 15, 2015 5:15 pm
Forum: Data Extraction and Web Screen Scraping
Topic: ReLoop File when end is reached
Replies: 7
Views: 2523

Re: ReLoop File when end is reached

Yep then I guess your DataSource only has 2 Rows of Data, or you have 2 empty Lines at Row 3 & 4...
:arrow: my datasource file has only 2 Rows, no more!!
i want to reloop from row 1 if the row2 is reached...
by Co0oDe
Fri Aug 14, 2015 10:23 pm
Forum: Data Extraction and Web Screen Scraping
Topic: ReLoop File when end is reached
Replies: 7
Views: 2523

ReLoop File when end is reached

VERSION BUILD=8920312 RECORDER=FX firefox 39.0 WIN: 8.1 ------------------------------------------------ Example Code VERSION BUILD=8920312 RECORDER=FX TAB T=1 SET !DATASOURCE test.csv SET !DATASOURCE_COLUMNS 1 SET !DATASOURCE_LINE {{!LOOP}} PROMPT {{!COL1}} test.csv file Test1 Test2 i want imacros ...
by Co0oDe
Fri Aug 14, 2015 9:58 pm
Forum: Command Line and Scripting Interface
Topic: Increase five per number (loop)!!!!
Replies: 5
Views: 3573

Re: Increase five per number (loop)!!!!

thank you very much...
works!
by Co0oDe
Thu Aug 13, 2015 3:33 am
Forum: Command Line and Scripting Interface
Topic: Increase five per number (loop)!!!!
Replies: 5
Views: 3573

Increase five per number (loop)!!!!

VERSION BUILD=8920312 RECORDER=FX firefox 39.0 WIN: 8.1 ------------------------------------------------ I want to increase five for evey (loop)number then increase it again.... 1,6,11,16,21 something like that... VERSION BUILD=8920312 RECORDER=FX SET !LOOP 1 SET !VAR1 EVAL("var x=\"{{!LOOP}}\" + 5"...
by Co0oDe
Thu Jul 23, 2015 11:12 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract ID from ATTR
Replies: 7
Views: 3489

Re: Extract ID from ATTR

After the 'TAG POS=1 ... EXTRACT=HTM" you can see in the Test Popup what Data gets retrieved by the 'EXTRACT'. Then you need some 'EVAL()' Statement(s) to keep only the Data that you want. And you then put your Final Data back into '!EXTRACT' before doing the 'SAVEAS': TAG POS=1 TYPE=A ATTR=DATA-HO...
by Co0oDe
Wed Jul 22, 2015 5:12 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract ID from ATTR
Replies: 7
Views: 3489

Re: Extract ID from ATTR

- The ID Data you want to retrieve should be in that Extract I reckon and you isolate it using 'EVAL()', there are probably several Solutions, the easiest one looks to me using 'split()' (x2). - 'SAVEAS' for the Saveas, of course... You can check all Commands I've mentioned with Single Quotes in th...
by Co0oDe
Wed Jul 22, 2015 1:53 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract ID from ATTR
Replies: 7
Views: 3489

Re: Extract ID from ATTR

chivracq wrote: CIM...! :mrgreen:
OS: WINDOWS 8.1
iMacros: VERSION BUILD=8920312
Browser: Firefox 39.0
by Co0oDe
Tue Jul 21, 2015 4:41 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract ID from ATTR
Replies: 7
Views: 3489

Extract ID from ATTR

Hello i'm trying to extract ID from ATTR here the the code: TAG POS=1 TYPE=A ATTR=DATA-HOVERCARD:/ajax/hovercard/user.php?id=050848560&extragetparams=%7B%22fref%22%3A%22grp_mmbr_list%22%7D&&DIR:ltr&&HREF:https://www.domain.com/username?fref=grp_mmbr_list i want to extract "050848560" only into csv f...