The Update-On-Keywords functionality allows you to monitor pages for specific keywords. You can enter single words or regular expressions and WebSite-Watcher notifies you when at least one of the entered keywords is available. But it is not possible to combine keywords with logical operators or exclude keywords.
WebSite-Watcher 5.1.0 Beta-9 introduces the new Event function Wsw_CheckKeywords to the Plugin system that can be used for advanced keyword monitoring. Here is a small example that looks for “Website” and “Watcher”, but not for “Weight” and “Watcher”.
Sub Wsw_CheckKeywords(Handle, sMemChanges, ByRef sStatusMessage, ByRef iKeywordFound)Dim s = LCase(sMemChanges)' Look for WebSite Watcher but exclude weight watcher If (InStr(s, "website") > 0) And (InStr(s, "watcher") > 0) And (InStr(s, "weight") = 0) Then iKeywordFound = 1 Return End IfEnd Sub
Typical functions that can be used in Wsw_CheckKeywords are InStr, FindString, FindWildcard and FindRegex.





