Top  Previous  Next

Sub Wsw_AfterCheck(Handle, ByRef sStatusMessage)


This function is called after a bookmark has been checked. For example, you can use this function if you want to write the time of a bookmark check to an external log file.




Handle ... Bookmark handle.
sStatusMessage ... String expression. Status message that will be displayed in the status column. Default value is an empty string.



Dim dStart


Sub Wsw_BeforeCheck(Handle, ByRef sStatusMessage)

   Bookmark_SetProperty(Handle, "checkmethod", "content")

   dStart = Now

End Sub




Sub Wsw_AfterCheck(Handle)

   AddStringToFile("c:\wswlogs\log23.txt", "Seconds: " + CStr((Now - dStart) * 24 * 60 * 60))

End Sub

Translate document: