anirnet wrote: ↑Sat Jan 05, 2019 8:03 am
Wow! I honnestly didn't get what you said.
But i'll cover the whole situation so you can have an idea of what i exactly need.
here is the exacte page i'm on right now :
https://www.etsy.com/search?q=boho%20shirt
what i'm trying to do is go through those listings which are 64 ones, open them and click the two favorite buttons (shop favorite) and the (product favorite) buttons, close the tab and go back to T1 to repeat the process for the rest of the listings. and after i'm done with those listings i would like to move to the next page and do the same thing non-stop.
so basically this what i try to do, but i couldn't figure out how.
Thank you so much
Yep, always much easier with the URL...
=> As "Anchor" you can use the 'Etsy' Site Logo or the 'All categories' Link for example..., but it looks like your Images are also the only Images on the Page, meaning 'R-POS' is not even needed and you can directly use 'TAG POS={{!LOOP}}' to loop through them all...
anirnet wrote: ↑Sat Jan 05, 2019 8:03 am
I made this one but it lacks the option to move to the next page. also it works by play loop mode by setting how many times it will loop
I don't think it's efficient
Code: Select all
SET !ERRORIGNORE YES
SET !LOOP 1
TAG XPATH=//*[@id="reorderable-listing-results"]/li[{{!LOOP}}]/div/a/div[1]/div[1]/div[1]/div/div/div/img
TAB T=2
WAIT SECONDS=2
TAG POS=1 TYPE=SPAN ATTR=TXT:Favorite<SP>shop
WAIT SECONDS=2
TAG XPATH=//*[@id="listing-body"]/div[1]/div[1]/div[1]/button/div/span/span[1]
WAIT SECONDS=2
TAB CLOSE
TAB T=1
OK, fine also I guess if you prefer to use 'XPATH' (which I never use myself actually)...
To click on the 'Next' Page, you would need to use 'EVAL()' + 'Modulo[64]' but this won't work as you can only loop your Script 100x times with the 'Free' Version, and you can't either include the full Code for one full Page with 64 Images as the Limit per Script is 50 Lines of Code.
=> You'll have to cope with the Limitations for the 'Free' Version and you will need to manually navigate to the next Page each time and to loop your Macro 64x times per Page...
And to be honest, I'm quite "impressed", I think you are probably the first "Tee-Shirt Fetishist" I ever come across, ready to like 61,534 Tee-Shirts...!
You might deserve a Place in the Guinness Book of Records maybe, woaw, super cool...!
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...