I try to make a short html page for a view inside smart client with only 2 buttons one for live and second for playback to current time and only 1 dislpayed camera.
SCS.Application.ShowLive() button work like a charm, but I can’t find a correct value for the current time timestamp for SCS.Browse.Goto() button.
The clue here is that the scripting has to be VBScript.
This snippet works for me:
<input type="button" value="Browse" onclick="SCS. Application.ShowBrowse();">
<input type="button" value="Goto" onclick="gotoNow();">
<script language = "vbscript" type = "text/vbscript">
Function gotoNow()
Dim date1
date1 = Now
SCS.Browse.Goto(date1)
End Function
</script>