跳转至

OnUcOpen

该接口调用的脚本应用程序用于在打开 UserClientEasyClient 时执行某个操作。

例 1:打开 UserClient 时,属于某个用户的所有项目都会被检入。

例 2:脚本阻止 UserClient 打开,例如因为服务器上正在进行工作。在这种情况下,会出现一条信息。

该脚本应用程序的命令行

没有代理:

OnUcOpen.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the server archive] /at:s

使用代理时:

OnUcOpen.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the agent archive] /at:s

界面文件的描述

Common 节

本脚本界面只输出 [常用] 部分的以下密钥 | 键:

  • RootDirAdmin
  • DirPrjData
  • 语言
  • 计算机名

密钥 | 键在界面文件的 "常规 "部分有所描述。

部分结果

结果]部分的密钥参见界面文件的常规部分

I/O 描述 默认
抑制打开 o 表示脚本是否应阻止 UserClient 打开。 Y/N N
抑制打开文本 [可选] o 如果脚本阻止了 UserClient 的打开,则会出现一条信息。可通过 "SuppressOpenText"(抑制打开文本)在消息中添加可自由配置的文本。

相关主题