hi im new to this and have been browsing this forum trying to figure out how to do this and i just cant
i would like to make a script that checks a website that i either have open or just a site in general, then when certain words or sentence appears on the site
have it open a specific program on my computer, not even sure how to write this or how it would start tbh any help is appreciaed
notice when text on site appears then open program
Re: notice when text on site appears then open program
Code: Select all
#Persistent
url = https://www.autohotkey.com/boards/viewtopic.php?f=76&t=95970
text = notice when text on site appears then open program
SetTimer, Download, 30000
Download:
SoundBeep, 1500
WinHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1"), WinHttp.Open("GET", url, False), WinHttp.Send()
If !Instr(WinHttp.ResponseText, text)
Return
SetTimer, Download, Off
MsgBox, 64, Text was found, %text%
Run, notepad
ExitApp
Re: notice when text on site appears then open program
so does that code download the page because i just want it to look on the website and whenever certain words or text appears on the site then open a specific program on my computer, like is their a way todo it without downloading thanks
Re: notice when text on site appears then open program
is there a way to make it so like say i open a site instead of it constantly flooding the site to check can it like just open the site once and make it wait till the new specified text appears then after that open another program
help is very much appreciated
help is very much appreciated
Re: notice when text on site appears then open program
You may need another technique for that. I do not use the Chrome.ahk library, but others have found it useful for many browser manipulations (on this forum). Others may be able to comment here with additional solutions for you. You may want to search the forum, too, as there could be some JavaScript or HTML techniques for what you need.
Who is online
Users browsing this forum: RussF and 169 guests