Search found 16 matches

by Cornysz
Wed Apr 22, 2020 1:50 am
Forum: iMacros for Firefox
Topic: Do action after looping TAG in JS
Replies: 4
Views: 1090

Re: Do action after looping TAG in JS

Yeah, but make sure to open your Threads in the correct Sub-Forum, or I don't answer/help, this one has nothing to do with the 'Data Extraction' Sub-Forum... :!: Threads about a '.js' Script belong to the 'iMacros for FF' Sub-Forum, where this Thread will eventually get moved to, by the Forum Admin...
by Cornysz
Tue Apr 21, 2020 5:34 pm
Forum: iMacros for Firefox
Topic: Do action after looping TAG in JS
Replies: 4
Views: 1090

Do action after looping TAG in JS

BUILD=8970419 Freeware Win 10 Firefox 56 Hi, how to do action but after looped TAG? This is my script var macro; macro = "CODE:"; macro += "VERSION BUILD=8970419 RECORDER=FX" + "\n"; macro += "SET !EXTRACT_TEST_POPUP NO" + "\n"; macro += "TAB T=1" + "\n"; //nama macro += "TAG POS={{i}} TYPE=DIV ATTR...
by Cornysz
Mon Apr 20, 2020 2:54 pm
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

But rather than using Global 'replace()', that I never use myself, as I find the Syntax a bit too complex, and always a hassle to find the right Escape Sequence, I prefer to use "split(',').join(' ')" which doesn't require any Special/Escape Chars (even in 'EVAL()' in pure '.iim' Scripts), applied ...
by Cornysz
Mon Apr 20, 2020 5:24 am
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

When I help Users and answer Threads on the Forum, I don't do it "only" for the User starting the Thread (=> you in this case), but for the whole Community, and for other Users who will find this Thread useful from your Scenario and the Start-Script you had, and what it became to the "Final-Script"...
by Cornysz
Mon Apr 20, 2020 3:34 am
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

Yeah, but before moving to some next part, can you first react to my previous Reply and post the next Version of your Script and what you did with my Remarks about your Use of 'iimGetExtract()' + 'iimPlay()' + the overall Logic of your Script...? Yeah, i did many things for my script, and i realize...
by Cornysz
Sun Apr 19, 2020 4:28 pm
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

Okay thank you for the asnwer, after i check my script, i just figured it out i have 1 problem, the problem is how to replace commas to space? macro += "TAG POS={{i}} TYPE=DIV ATTR=class:O6wiAW* EXTRACT=TXT" + "\n"; VAR3 = iimGetExtract().replace(/[ ]*,[ ]*|[ ]+/g, ' '); I have that part of my scrip...
by Cornysz
Sun Apr 19, 2020 3:12 am
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

Yeah, but difficult to help you from mini-bits of your Script, post the full Script...!, I can't follow what you are doing and see what you can be doing wrong..., I don't see any 'iimPlay()' or 'iimPlayCode()' for example, then no wonder that 'iimGetExtract()' will be undefined... OKay, sorry i usu...
by Cornysz
Sat Apr 18, 2020 6:12 pm
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

Re: iimGetExtract() result undefined

Thank you for the anwer but i got "weird" error too, TypeError: iimGetExtract(...) is undefined, line 12 (Error code: -991). But, to fix this i need to run other worked script and then i can run that script without that "weird" bug. What causes of this problem? and how to fix it? And i tried to fix ...
by Cornysz
Sat Apr 18, 2020 4:17 pm
Forum: Data Extraction and Web Screen Scraping
Topic: iimGetExtract() result undefined
Replies: 13
Views: 2058

iimGetExtract() result undefined

BUILD=8970419 Freeware Win 10 Firefox 56 So i want to replace commas to space in my EXTRACT, but in the .csv i got undefined string :shock: How to fix this? This is part of my code (.js) for (var i=1;i<50;i++){ iimSet("i",i) macro += "TAG POS={{i}} TYPE=DIV ATTR=class:O6wiAW* EXTRACT=TXT" + "\n"; VA...
by Cornysz
Fri Apr 17, 2020 8:10 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

Thank you for your answer :D
Can i ask one more thing? What if i want to set the POS increment ( 1,2,3,4 .. 50), is it require javascript? if yes, how to do that?
by Cornysz
Thu Apr 16, 2020 12:29 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

No Script posted... => I only give Generic Answers... :| Ohhh okay i'll give part of my script. SET !EXTRACT NULL TAG POS={{!LOOP}} TYPE=A ATTR=DATA-SQE:link&&HREF:https://shopee.co.id/* EXTRACT=HREF TAG POS={{!LOOP}} TYPE=DIV ATTR=class:_18SLBt EXTRACT=TXT SET !VAR1 EVAL(" var exam='{{!EXTRACT}}'....
by Cornysz
Thu Apr 16, 2020 11:48 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

Hmmm i'm still newbie, very hard to understand your answer :cry: , can you reexplain me with simple way? hehe i'm sorry :(
by Cornysz
Thu Apr 16, 2020 2:40 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

Yes, im using POS = {{LOOP}} in my script, but i don't know how many i set for the loop play, if i set the loop 60 and the grid show 50, the last 10 will resulting #EANF#
by Cornysz
Wed Apr 15, 2020 9:37 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

Fixed! I can't upload photo in Attachment menu, thats why i used imgur to use photo :D
by Cornysz
Wed Apr 15, 2020 7:44 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Extract uncertain DIV Class
Replies: 13
Views: 1942

Re: Extract uncertain DIV Class

Okay sorry for my bad english, it's make me hard to explain it :roll: i hope you can understand this qt So in this photo, sometimes the square/grid show in the page 50, or 55 or 60 (erratic) thats make me hard to TAG them all, And is there any POS = ALL like that? bcz my plan is after TAG the all gr...