Is there a way to crawl a series of URLs whereby Autohotkey can go down a list of URLs, submit them into the address bar? I want to take a list of around 100 URLs and use a hotkey to submit each one by using a hotkey to trigger the submission but then get the next URL in the sequence with another hotkey etc.
Is there a script for this or one I can modify?
Peter
Submit a series of URLs with Autohotkey
Re: Submit a series of URLs with Autohotkey
Code: Select all
i := 1
URLs := ["first", "second", "third"]
$q::Send % URLs[i]
$w::(++i > URLs.Count()) ? --i
$e::(--i < 1) ? ++i
Re: Submit a series of URLs with Autohotkey
Forum topic moved to 'Ask For Help'.
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Re: Submit a series of URLs with Autohotkey
Thank you for the script. I tried this out but I am getting an error on line 2. The program is giving me an "illegal character" error. A sample of the syntax I am using is:
URLs := ["https://www.linkedin.com/in/xxx", "https://www.linkedin.com/in/yyy", "https://www.linkedin.com/in/zzz" ]
I tried with and without quotes and got the same error. Please advise.
Peter
URLs := ["https://www.linkedin.com/in/xxx", "https://www.linkedin.com/in/yyy", "https://www.linkedin.com/in/zzz" ]
I tried with and without quotes and got the same error. Please advise.
Peter
Re: Submit a series of URLs with Autohotkey
I cannot reproduce your problem with the code line you provided (yes, strings need quotation marks around them, in this case). Did swagfag's original script work for you?
Which AHK version are you running?
Try running a recent AHK version, if you haven't done already.
Which AHK version are you running?
Try running a recent AHK version, if you haven't done already.
Re: Submit a series of URLs with Autohotkey
Bear in mind these are dummy links for purposes of the forum. See attachment photo with real links and the error to see if my syntax is flawed.
I am running Version 1.0.48.05
Is that the issue you think?
Thx,
Peter
I am running Version 1.0.48.05
Is that the issue you think?
Thx,
Peter
Re: Submit a series of URLs with Autohotkey
Yes, that is an ancient version (from 2009) which doesn't support arrays.I am running Version 1.0.48.05
Is that the issue you think?
Re: Submit a series of URLs with Autohotkey
OK. Thank you.
The main reason I have not upgraded has to do with the use of Autoscript writer. I upgraded on another computer and found that it had been discontinued.
The main reason I have not upgraded has to do with the use of Autoscript writer. I upgraded on another computer and found that it had been discontinued.
Re: Submit a series of URLs with Autohotkey
Just copy scriptwriter.exe or whatever its called to your new computer and it will work but there are better solutions now:
1) macrocreator https://www.autohotkey.com/boards/viewforum.php?f=63 - elaborate
2) and https://autohotkey.com/boards/viewtopic.php?f=6&t=34184 - more compact
1) macrocreator https://www.autohotkey.com/boards/viewforum.php?f=63 - elaborate
2) and https://autohotkey.com/boards/viewtopic.php?f=6&t=34184 - more compact
Re: Submit a series of URLs with Autohotkey
I solved the error by upgrading the version.
How do I run the script?
How do I run the script?
Re: Submit a series of URLs with Autohotkey
gregster, thank you. I see that in the script. The "$" is what is throwing me off.
Re: Submit a series of URLs with Autohotkey
You can look up the modifier symbols here: https://autohotkey.com/docs/Hotkeys.htm#Symbols
Who is online
Users browsing this forum: Google [Bot], mikeyww, Oblomov228, PsysimSV, uchihito and 204 guests