Sub Bookmark_GetProperty($property As String) As String


Reads a property from the Bookmark configuration.


Parameters


  • $property ... String value. The Bookmark property to read.


Valid values of $property:

Value

Description

id

Reads the unique Bookmark ID.

name

Reads the Bookmark name.

check_url

Reads the check URL.

status

Status of the last Bookmark check. Can be used in the event function Wsw_AfterCheck. See also Example

note

Reads the Bookmark note.

infofield1

Reads the additional info field #1.

infofield2

Reads the additional info field #2.

infofield3

Reads the additional info field #3.

folder_name

Reads the name of the folder in which the Bookmark is stored.

folder_path

Reads the path and name of the folder in which the Bookmark is stored.

last_check_date

Date of the last check. The result is a string in the format yyyymmddhhmmss.

last_change_date

Date of the last change. The result is a string in the format yyyymmddhhmmss.

check_log

Log file of the current check.

ignore_filter

Defined ignore filters.

watch_filter

Defined watch filters.

ignore_filter_unused

Ignore filters that did not find any matches in the last check.

watch_filter_unused

Watch filters that did not find any matches in the last check.

plugin_password

Password field that can be entered in the Plugin section.

crc_original_doc_web

Document checksum of the downloaded web version.

crc_original_doc_new

Document checksum of the locally saved version.

database_filename

Absolute path and filename of the Bookmark database.

cache_folder

Cache folder of the Bookmark, including the trailing backslash.


Example:

Sub Wsw_PreprocessPage(ByRef $sMem, ByRef $sStatusMessage, ByRef $iStatusCode)
   
   Dim $id
   
   ' Read the unique bookmark id
   $id = Bookmark_GetProperty("id")
End Sub