Bookmark_GetProperty

Top  Previous  Next

function Bookmark_GetProperty(Handle, sProperty) As String

 

Reads a property from the bookmark configuration.

 

Parameters

 

Handle ... Bookmark-Handle that is passed to the Event function.
sProperty ... String value. Bookmark property that should be read.

 

Valid values of sProperty:

Value

Description

id

Reads the unique bookmark id.

name

Reads the bookmark name.

check_url

Reads the check URL.

status

Status of last bookmark check. Can be used in the event function Wsw_AfterCheck. 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 where the bookmark is stored.

folder_path

Reads path + name of the folder where the bookmark is stored.

last_check_date

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

last_change_date

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

check_log

Log file of the current 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 + filename of the bookmark database

cache_folder

Cache folder of the bookmark (incl. trailing backslash)

 

Example:

Sub Wsw_PreProcessPage(Handle, ByRef sMemWeb, ByRef sStatusMessage, ByRef iStatusCode)
 
   Dim id
 
   ' Read the unique bookmark id
   id = Bookmark_GetProperty(Handle, "id")
End Sub




Translate document: