I like the sharepoint idea, but believe this is not what Web->Ahk is looking for. If I am dot mistaken, Web->Ahk wants a script to be launched if a specific website is opened. I.e. if, say, Gmail is opened, some script is triggered. If I misunderstood, skip the rest.
If not here is a working example:
Code:
#NoEnv
#SingleInstance Force
top:
WinWait, Gmail
SoundPlay *-1 ;or lauch something else
loop
{
IfWinExist, Gmail ;if Gmail is open sleep 2 seconds
{
sleep, 2000
continue
}
gosub, top ;if Gmail has closed, reload
}
the script is "reloaded" if gmail is closed and ready to be triggered again if gmail is opened again.
Don't know what it could be used for, but...