Search found 23 matches

by wootshuska
Fri Jan 06, 2017 12:02 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Scrape elements which are generated by php code
Replies: 1
Views: 2014

Scrape elements which are generated by php code

Hi, I want to scrape content from webpage which is not visible in Source code. It's probably generated by php script, so I cant find it looking at source code. Of course I can click "inspect element" and see the html code of elements I want to extract. What I also can do is clicking at them. Event c...
by wootshuska
Tue May 03, 2016 4:52 pm
Forum: iMacros for Firefox
Topic: Regex - how to apply for multiline?
Replies: 3
Views: 1224

Re: Regex - how to apply for multiline?

I managed something like that:

Code: Select all

SEARCH SOURCE=REGEXP:"/Profile/user_(\d+).+AddAnswer(\d+)/g" IGNORE_CASE=YES EXTRACT=$1
its not working :/
by wootshuska
Tue May 03, 2016 3:32 pm
Forum: iMacros for Firefox
Topic: Regex - how to apply for multiline?
Replies: 3
Views: 1224

Regex - how to apply for multiline?

I want to extract data from html. The thing is, that i cant extract 2 of strings which are on the top, and on the bottom of my pattern. I want to extract 23423423423 and 1234523453245 but only, if there is string Allan between: <h4><a href="/Profile/23423423423.html">@@@@@@</a> </h4> said12:49:32 </...
by wootshuska
Wed Apr 27, 2016 5:37 pm
Forum: iMacros for Firefox
Topic: Php script and mess with queue
Replies: 3
Views: 1549

Php script and mess with queue

Hi! What i want to do with my macro, is to login to my website, fill the data, click the button, go to another site and play the sound. Clicking the button is running php script which lasts for about 10 minutes. Normally timeout is set to 60 seconds, so i extended that to 9999999 using !timeout, !ti...
by wootshuska
Wed Apr 27, 2016 10:32 am
Forum: iMacros for Firefox
Topic: If Else help please
Replies: 6
Views: 2474

Re: If Else help please

Hi! You are trying to use .iim and .js in 1 file. Thats wrong. You cant use .iim inside .js without calling. Save this with .js extension and try out: var EXTRACT_LAST; var i=1; var k=1; var EXTRACT_MACRO; EXTRACT_MACRO = "CODE:"; EXTRACT_MACRO += "TAG POS={{i}} TYPE=TD ATTR=WIDTH:0px EXTRACT=TXT" ...
by wootshuska
Tue Apr 26, 2016 1:00 am
Forum: iMacros for Firefox
Topic: If Else help please
Replies: 6
Views: 2474

Re: If Else help please

Hi! You are trying to use .iim and .js in 1 file. Thats wrong. You cant use .iim inside .js without calling. Save this with .js extension and try out: var EXTRACT_LAST; var i=1; var k=1; var EXTRACT_MACRO; EXTRACT_MACRO = "CODE:"; EXTRACT_MACRO += "TAG POS={{i}} TYPE=TD ATTR=WIDTH:0px EXTRACT=TXT" +...
by wootshuska
Sun Apr 24, 2016 6:55 pm
Forum: iMacros for Firefox
Topic: Not Saving Screenshots/Images in JS
Replies: 1
Views: 794

Re: Not Saving Screenshots/Images in JS

try this

Code: Select all

var saveimg;
saveimg = "CODE:";
save img += "ONDOWNLOAD FOLDER=C:\\stuff FILE=tst.png WAIT=YES" + "\n";
save img += "WAIT SECONDS = 2" + "\n";
saveimg += "TAG POS=1 TYPE=IMG ATTR=* CONTENT=EVENT:SAVE_ELEMENT_SCREENSHOT" + "\n";
iimPlay(saveimg);
by wootshuska
Thu Apr 21, 2016 9:00 pm
Forum: iMacros for Firefox
Topic: Cannot extract string with spaces
Replies: 1
Views: 848

Cannot extract string with spaces

Hi! I want to extract the time, but unfortunelly it contains space. Is it possible to make it? Code: var extracto = iimGetLastExtract(); alert (extracto); //<--- it shows 2016-04-19 15:30:37: var pre; pre = "CODE:"; pre += "set !EXTRACT " + extracto + "\n"; pre += "set !EXTRACT " + "" + extracto + "...
by wootshuska
Thu Apr 21, 2016 8:41 pm
Forum: iMacros for Firefox
Topic: If Else help please
Replies: 6
Views: 2474

Re: If Else help please

try this: i=1; var extract_macro; extract_macro = "CODE:"; extract_macro += "TAG POS={{i}} TYPE=TD ATTR=WIDTH:0px EXTRACT=TXT" + "\n"; var extract_last; for (i=1; i<=24; i++) { iimPlay(extract_macro); extract_last = iimGetLastExtract(); if (extract_last == "#EANF#") && (i==10)) { i=1; } } Not sure w...
by wootshuska
Wed Mar 30, 2016 5:50 pm
Forum: iMacros for Firefox
Topic: Imacros growing ram usage
Replies: 3
Views: 1687

Re: Imacros growing ram usage

And there is nothing i can do? I downloaded palemon, but imacros is not updated for it.
by wootshuska
Wed Mar 30, 2016 3:40 pm
Forum: iMacros for Firefox
Topic: Imacros growing ram usage
Replies: 3
Views: 1687

Imacros growing ram usage

Hello! I have problem with my .js script. The thing is that ram usage. When i run firefox it costs me about 200 000 K of ram. When i run script after 10 sec it costs 400 000 K ram. After 3 minute its about 1 000 000 K ram after 10 minutes its over 2 000 000 K ram When i reach 2gb of ram usage firefo...
by wootshuska
Tue Mar 29, 2016 1:17 pm
Forum: iMacros for Firefox
Topic: Script scrashing before running
Replies: 0
Views: 765

Script scrashing before running

Hi! I want to extract numbers from: <figure onclick="window.location='/Profile/user_3153881.html'" class="user-av"> When i try to save that script: search source=regexp:"figure onclick=\"window.location='\/Profile\/user_(.+).html" extract = $1 prompt {{!EXTRACT}} It gaves me an error saying, that th...
by wootshuska
Mon Mar 28, 2016 6:47 pm
Forum: iMacros for Firefox
Topic: Why does iimSet clear variable, but alert shows properly?
Replies: 3
Views: 1480

Re: Why does iimSet clear variable, but alert shows properly

var comment = "test"; var PASTE; PASTE= "CODE:"; PASTE+= "TAG POS=1 TYPE=TEXTAREA FORM=ACTION:/ ATTR=ID:id_body CONTENT={{comment}}" + "\n"; var PASTESECOND; PASTESECOND= "CODE:"; PASTESECOND+= "TAG POS=1 TYPE=TEXTAREA FORM=ACTION:/ ATTR=ID:id_body CONTENT={{comment}}" + "\n"; var refresh; refresh ...
by wootshuska
Mon Mar 28, 2016 6:46 pm
Forum: iMacros for Firefox
Topic: Js is not working for other language button?
Replies: 6
Views: 1557

Re: Js is not working for other language button?

Ohh. so you're talking about difference beetween bla = "CODE"; and bla="CODE:"; I know that is wrong. I just thought you're talking about: bla = "CODE:"; and bla = 'CODE:'; You know. The fifference between " " and ' '. But i have another question related with language. var script; script = "CODE:"; ...
by wootshuska
Mon Mar 28, 2016 10:15 am
Forum: iMacros for Firefox
Topic: Why does iimSet clear variable, but alert shows properly?
Replies: 3
Views: 1480

Why does iimSet clear variable, but alert shows properly?

var comment = "test"; var PASTE; PASTE= "CODE:"; PASTE+= "TAG POS=1 TYPE=TEXTAREA FORM=ACTION:/ ATTR=ID:id_body CONTENT={{comment}}" + "\n"; var PASTESECOND; PASTESECOND= "CODE:"; PASTESECOND+= "TAG POS=1 TYPE=TEXTAREA FORM=ACTION:/ ATTR=ID:id_body CONTENT={{comment}}" + "\n"; var refresh; refresh ...