Search found 8 matches

by dave86c
Thu Oct 13, 2016 8:24 am
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

Could you maybe give me some help and push me in the right direction with the negative keywords?

The file already has the .js Extension.
by dave86c
Wed Oct 12, 2016 10:14 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

So far I have this code for the item description extracting. I used your code and I added some code to macro1. When I play this I get this error: unknown command: VAR, line 1 (Error code: -910) I can´t figure out what the problem is. Is this the correct way to extract item description? Code is: var ...
by dave86c
Wed Oct 12, 2016 2:27 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

NICEE! Thanks a lot for this :) Appreciate it This is exactly what I need to start with. Now I´m going to add more elements to the code. For example the item description (which comes when you click on the product) and put is into column B in the Excel Sheet. I think I can add that because I have som...
by dave86c
Wed Oct 12, 2016 1:46 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

allright, it works. The downgrade seems to make sense!

However this is only the first part of the macro and not the second loop where it goes to the next page and continues extracting. Can I use my old for loop to do that?
by dave86c
Wed Oct 12, 2016 1:21 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

OKay I going to downgrade now. Do you know if all my macro´s will be gone if I downgrade? You think I need to save them somewhere else? This is the script I´m playing. It´s exactly the one you sent me: var macro0 = "FILTER TYPE=IMAGES STATUS=ON" + "\n"; macro0 += "URL GOTO=https://www.ebay-kleinanze...
by dave86c
Wed Oct 12, 2016 12:58 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

When i play it, it gives me this error: MacroSyntaxError: wrong format of TAG command, line 4 (Error code: -910) I had a look at line 4 and can´t see anything wrong there. Also could you tell me what the first line is doing? var macro0 = "FILTER TYPE=IMAGES STATUS=ON" + "\n"; thanks :) ** Sorry I al...
by dave86c
Wed Oct 12, 2016 1:32 am
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Re: Nested Loops with Javascript

Sorry for the double post. I was not sure if I uploaded the first one. It took quite long before my post was online and I had a lot of open windows and no overview anymore ;) Is it poossible to delete your post to make this thread a little more readable with less information? I have been playing aro...
by dave86c
Tue Oct 11, 2016 4:59 pm
Forum: iMacros for Firefox
Topic: Nested Loops with Javascript
Replies: 16
Views: 12243

Nested Loops with Javascript

I could need some help with a double Loop in imacros. This is what I want to do: Go to this page: "https://www.ebay-kleinanzeigen.de/s-musik-cds/c78" and extract all the offer titles into an csv file. Then, go to the next page and repeat the same steps until all results are extracted. I created 2 se...