Milestone XProtect Smart Client 2013 Manual de usuario Pagina 167

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 181
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 166
Milestone XProtect
®
Smart Client
2014
User's Manual
www.milestonesys.com
167
Scripting
If you use Windows authentication (current user), the UserName and Password parameters would
not be necessary, and the example looks like this:
Client.exe -ServerAddress="http://ourserver" -AuthenticationType
WindowsDefault
Script
Refers to a full path to an .scs script (a script type targeted at controlling the XProtect Smart Client).
The following example uses an .scs script to login:
Client.exe -Script=c:\startup.scs
Example of an .scs script for logging in to http://ourserver with the current Windows user:
<ScriptEngine>
<Login>
<ServerAddress>http://ourserver</ServerAddress>
<AuthenticationType>WindowsDefault</AuthenticationType>
</Login>
</ScriptEngine>
You can use many of the XProtect Smart Client 's function calls (see View a list of function calls (see
"Scripting" on page 165)) to add further functionality to .scs scripts. In the following example, we have
added a line so the .scs script from the previous example will also minimize the XProtect Smart Client
application:
<ScriptEngine>
<Login>
<ServerAddress>http://ourserver</ServerAddress>
<AuthenticationType>WindowsDefault</AuthenticationType>
</Login>
<Script>SCS.Application.Minimize();</Script>
</ScriptEngine>
Format
Valid parameter formats are:
{-,/,--}param{ ,=,:}((".')value(",'))
Examples:
-UserName Tommy
--UserName Tommy /UserName:"Tommy" /UserName=Tommy -Password 'Tommy'
Vista de pagina 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 180 181

Comentarios a estos manuales

Sin comentarios