Im trying to automatically copy a line of text in a urls page source , and copy it into the notepad, for multiple tabs – eg ive about 30 tabs open and I want to copy line 330 of the urls page source for all of these tabs and paste them all into a notepad, could anyone explain how to do this using AHK?
Eg id be copying line 330 in this page view-source:https://www.attheraces.com/racecard/Aintree/05-December-2020/1145/pacechart
copy & paste text on a page source line to notepad, for multiple tabs?
-
- Posts: 137
- Joined: 24 May 2016, 08:23
Re: copy & paste text on a page source line to notepad, for multiple tabs?
Depending on the page (dynamic data only presented in a browser) you might just as well use
* the https://www.autohotkey.com/docs/commands/URLDownloadToFile.htm command and
* then https://www.autohotkey.com/docs/commands/FileReadLine.htm each line into a variable, and
* use https://www.autohotkey.com/docs/commands/FileAppend.htm to write it to a file avoiding the need for pasting in notepad.
* the https://www.autohotkey.com/docs/commands/URLDownloadToFile.htm command and
* then https://www.autohotkey.com/docs/commands/FileReadLine.htm each line into a variable, and
* use https://www.autohotkey.com/docs/commands/FileAppend.htm to write it to a file avoiding the need for pasting in notepad.