跳到正文
所有工具

record_marker

诊断与系统 · macOS

效果: 写入. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

在活动录制的时间线上放置一个命名标记。t_ms 是自录制开始起经过的毫秒数。提供 bounds(全局点,左上角)可朝某个元素放大,省略则为全画面。note 会成为字幕来源。若没有正在录制的内容,则返回 no_active_session。首次调用返回预览;confirm: true 才会放置标记,时间戳为该次调用的时刻。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — macOS
{
  "properties": {
    "bounds": {
      "description": "Optional {x,y,w,h} global points to zoom toward.",
      "type": "object"
    },
    "confirm": {
      "description": "Must be true to drop the marker; it is stamped at that call. Without it the call returns a preview and adds nothing.",
      "type": "boolean"
    },
    "name": {
      "description": "Marker name, e.g. open_tray, act2_calendar_create.",
      "type": "string"
    },
    "note": {
      "description": "Free text → caption source.",
      "type": "string"
    },
    "session_id": {
      "description": "Accepted and IGNORED: v1 records one session at a time, so a marker always lands on the active recording. It is here so echoing back the session_id from screen_record_start is not an error.",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}

文档示例

record_marker 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "confirm": false,
  "name": "Planning meeting"
}