SupervisionCam by Peter Kirst
Homepage SupervisionCam

Back to the manual start page

Placeholder

Placeholder can be used to describe the environment of one or more saved images for different activities.

Placeholders can be used in the strings for

Additionaly Placeholder can be used for the HTML page generator. Please see below.

What does the placeholder stand for?

&DocumentName& or &CameraName&

Name of the current configuration document

&CurrentTimeTIME_PLACEHOLDER&

The current time. See the description of TIME_PLACEHOLDER below.

&NbrOfImages&

The number of images in the list

&ImagePathName&

The path where the images are saved to.

&ImageName&

The name of the current image

&ImageChanges&

The number of changes registered for this image

&ImageTime TIME_PLACEHOLDER&

The time when this image was saved. See the description of TIME_PLACEHOLDER below.

&IPAddress& Add  the current IP address.
&ExtFile:FILENAME& Add the contents of the file FILENAME. (Usefully to add contents from another program.)

A TIME_PLACEHOLDER can include one or more of the following strings:

%y

Year

%m

Month

%d

Date

%H

Hour

%M

Minute

For instance the message string in your "Send Message" configuration is the following:

"Camera "&CameraName&" detected a motion on &ImageTime%d.%m.%y at %H:%M&. The image was saved on &ImagePathName&&ImageName&.

The receiver will get the following message:

"Camera "Corridor" detected an motion on 17.08.1999 at 07:57. The image was saved on C:\ Corridor1\SV 99-08-17 07-57-22.jpg"

Additionaly Placeholder can be used in the HTML source file to describe lists of images.

With <!TableEntryStart Max = x Type=SV > you start a new list where x is the maximum number of image entries to include and only images of the type SV (supervision) will be included. The type can also be TS for time scheduled images.

With <!TableEntryEnd> you need to mark the end of the list.

Example:

<!TableEntryStart Max = 20 Type=SV >

<A href="&ImageName&">&ImageName& </A><!TableEntryEnd>

This code adds a list of links to a maximum of 20 SV images last saved in your HTML page.