eistuete Posted October 18, 2016 Share Posted October 18, 2016 HI, I have a URL like "https://www.amazon.de/s/ref=sr_pg_3?me=A2DSZ1A0BT2U97&fst=as%3Aoff&rh=k%3Aakku%2Cp_4%3AAcer&page=3&keywords...." in google chrome and i want to search for "page=3&keywords" and replace the 3 with a 4 and 5 and ... to get on the next page in a while loop till I press end. I want that my autoit script click in the URL and the next step is to press Enter. Are there any solutions? sorry but my english ist not good and I did the script with AU3record. Thank You. Link to comment Share on other sites More sharing options...
AutoBert Posted October 18, 2016 Share Posted October 18, 2016 And where is the problem? Ps.: welche Eissorte ist in der Tüte? eistuete 1 Link to comment Share on other sites More sharing options...
eistuete Posted October 18, 2016 Author Share Posted October 18, 2016 I dont know how... Link to comment Share on other sites More sharing options...
r3dbullo88 Posted October 18, 2016 Share Posted October 18, 2016 To replace the URL use the function StringReplace -> Take a look at the Wiki Whilst for the cycle, I've used a For / Next. Short example below. Local $url = "www.amazon.it/blablablablabla&page=1&blablabla" ; Starting URL Local $i For $i=1 to 4 $url=StringReplace($url,"&page="&$i&"&","&page="&$i+1&"&") ConsoleWrite($i &" - "&$url&@crlf) Next Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now