Okay, I have watched that entire video and did some testing to see if I could at least find the hyperlinks on a web page, as opposed to a google document. From
@geek's explanation, I was able to work out the code to pull the URL from the "Read this before posting!" post at the top of the page on
https://www.reddit.com/r/AutoHotkey/. The code used to pull the first URL in the main section of the Reddit page is:
Code: Select all
[].filter.call( document.querySelectorAll("div.content a:link.title.may-blank.loggedin"), (e) => e. href.startsWith("http"))[0].href
I then try to use this in my AHK, but I receive an error when including the Chrome.ahk file:
Code: Select all
D:\Users\...\Downloads\Chrome-master\lib\AutoHotkey-JSON\Jxon.ahk (174) : ==> Call to nonexistent function.
It specifically points to line 174 in Jxon.ahk:
Jxon_Dump(k) : q . k . q ) ;// key
. ( indent ? ": " : ":" ) ; token + padding
Any ideas?
This is referenced in line 355 of Chrome.ahk:
#Include %A_LineFile%\..\lib\WebSocket.ahk\WebSocket.ahk
I pulled the Chrome.ahk from
HERE. Is this the correct location?