编辑器
2 个节点
本页内容 2
运行文档
函数不打开文档,直接从文件以解释方式运行它,并说明运行结果:文档名称,然后是它是否运行完毕、用了多长时间,或者没有完成的原因。相对路径从这个文档所在的文件夹读起。
签名
运行文档(_editor: IEditorAutomation, 路径: 文本) -> 文本
string RunDocument(IEditorAutomation _editor, string path)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| _editor | IEditorAutomation | — | |
| 路径 | 文本 | — |
返回
| 结果 | 文本 |
- 所属发行版
- 元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 编辑器
- 所属包
- 编辑器自动化
设置状态栏
函数在状态栏上显示一句话。
签名
设置状态栏(_editor: IEditorAutomation, 文字: 文本)
void SetStatus(IEditorAutomation _editor, string text)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| _editor | IEditorAutomation | — | |
| 文字 | 文本 | — |
- 所属发行版
- 元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 编辑器
- 所属包
- 编辑器自动化