Search found 18 matches

by Shoop
Tue May 19, 2015 11:11 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract and save a link from webpage
Replies: 7
Views: 8798

Re: Extract and save a link from webpage

javascript and if statements.
or use eval
save extracted to some variable, like var1 or wutever.
then use eval and check if the content of var1 is eanf. if it is repalce eanf with nothing. else just do nothing (no else part)
then just save the var1 to extract and use the same saveas functions
by Shoop
Tue May 19, 2015 7:43 am
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

well according to regional settings, it was set to ",". The excel had its own problems with opening csv files. i jsut workaround it with import daa from text. then it asks again what should i use as delimiter and i just type , again. works like a charm. (my macros use , for some reason. an...
by Shoop
Mon May 18, 2015 11:56 am
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

notepad++ to view the code. MS Office Excel 2010 ; is already the defined delimiter for csv/txt files did some messing around in office and figured it out. solution is complete bullshit but okay. so isntead opening csv with excel, i need to import .csv to excel and then it will work properly. fml u ...
by Shoop
Fri May 15, 2015 5:36 am
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

hmm hmm hmm i used IE for some, prolly just copied the version alongside the rest of the code. ill check again when i get to work and leave the "right" version. didnt think it would differ between those 2. i use IE only for extract wizard, so thats where that god in... this is the top of t...
by Shoop
Thu May 14, 2015 1:50 pm
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

http://imgur.com/WJYwKiQ http://imgur.com/CkBtAwI thats what i get when using the metod of extract save extract save extract save extract save. if i use extract addextract addextract addextract i get this: http://imgur.com/g2W3Ar3 and i need this which i get if i only use my hands and manual labor :...
by Shoop
Thu May 14, 2015 7:29 am
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

yoyoyo im bit late to respond. was cought up in work and fucking math logic. anyway i solved the 1st part. heres the sample code: think ive changed all the var names to be more descrptive for non-croatian speaking ppl. enjoy if it helps VERSION BUILD=10.4.28.1074 TAB T=1 SET !EXTRACT_TEST_POPUP NO S...
by Shoop
Wed May 13, 2015 7:09 am
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

Re: printing to .csv

god damn left it retarded and forgot to change it when ive hit submit -.-'
by Shoop
Tue May 12, 2015 6:30 pm
Forum: iMacros for Firefox
Topic: printing to .csv
Replies: 12
Views: 8825

printing to .csv

win 8.1, FF3702 VERSION BUILD=10.4.28.1074 TAB T=1 SET !EXTRACT_TEST_POPUP NO URL GOTO=https://www.njuskalo.hr/index.php?ctl=user_account&action=ad_admin&f_user_id=961170&publisher_id=0&page=1 'incraments of 12; 3 15 27 39 etc; 1 'extract code SET !VAR1 EVAL("var z=\"{{!LOO...
by Shoop
Mon May 11, 2015 1:13 pm
Forum: Command Line and Scripting Interface
Topic: javascript and SET
Replies: 1
Views: 2970

javascript and SET

win8.1, BUILD=8920312, ff 3702 var retcode, i, x, n, macro, macro2, macro3, macro4, macro5, macro6; var cijenanaoglasniku, cijenanaoglasnikm, cijenanakupi; var urlkupi1m, urlkupi1; var urlkupi2m, urlkupi2; for(n=2;n<=80;n=n+2){ macro2 = "CODE:"; macro2 +="EVENT TYPE=CLICK SELECTOR=#_f...
by Shoop
Thu May 07, 2015 2:01 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extracting URL from Hyperlinks
Replies: 1
Views: 5745

Extracting URL from Hyperlinks

so heya all its-a me again. using FF 3702, win8.1 and VERSION BUILD=10.4.28.1074 macros so ive been wondering how to extract links from the table that is presented there in hte html i upladed. i understand that the link is made of "www.njuskalo.hr/CATEGORY/name-of-the-product-'oglas'-numbersont...
by Shoop
Thu May 07, 2015 12:47 pm
Forum: Command Line and Scripting Interface
Topic: imacros with jquery and ajax
Replies: 1
Views: 10714

imacros with jquery and ajax

can imacros play jquery and ajax code if it is found in their .js file? or will it return an error? also u can call a macro in a javascript. but can u call javascript in macro? (like the reverse of retcode/iimPlay) edit: not working njuskalo=new XMLHttpRequest(); njuskalo.onreadystatechange = functi...
by Shoop
Mon May 04, 2015 1:29 pm
Forum: iMacros for Firefox
Topic: Speeding up the macro
Replies: 0
Views: 1528

Speeding up the macro

edit:fci im running firefox 37.0.2 VERSION BUILD=8920312 RECORDER=FX imacros and win 8.1 VERSION BUILD=8920312 RECORDER=FX SET !EXTRACT_TEST_POPUP NO TAB T=1 URL GOTO=https://www.njuskalo.hr/index.php?ctl=user_account&action=ad_admin&f_user_id=961170&publisher_id=0&page={{!LOOP}} EVE...
by Shoop
Tue Apr 28, 2015 10:10 am
Forum: General Support & Discussions
Topic: Captcha and logic
Replies: 4
Views: 6303

Re: Captcha and logic

i was in a bit of hurry so i didnt think much about it :D before anything, this is just a starting concept, and i dont expect it to be correct in any degree i did some progress on this, but i am not sure if it is correct since im still bit new to javascript and imacros. i used self-test.js as a temp...
by Shoop
Mon Apr 27, 2015 12:48 pm
Forum: General Support & Discussions
Topic: Captcha and logic
Replies: 4
Views: 6303

Captcha and logic

Hello all again. fcim: im running firefox 37.0.2 VERSION BUILD=8920312 RECORDER=FX imacros and win 8.1 so i need some advice and logic help. i need to autoamte a task, which i completed 99%. the last past is captcha solving and pressing the submit button. so the page in question has the following sy...
by Shoop
Thu Apr 23, 2015 8:32 am
Forum: iMacros for Firefox
Topic: Download and If-else help
Replies: 4
Views: 3304

Re: Download and If-else help

'extract price TAG POS=1 TYPE=LI ATTR=CLASS:productprice EXTRACT=TXT SET KUNE EVAL("var x=\"{{!EXTRACT}}\"; x=x.match(/[\\.\\d]+/g); x=x[0].replace('.','');") SET LIPE EVAL("var x=\"{{!EXTRACT}}\"; x=x.match(/[\\.\\d]+/g); x=x[1].replace('.','');") SET PRICE ...