English Version
SystemMessage-LinearExecution
. If you send random inputs, the system
will respond with a notice reminding you to only use this format.
Table of Contents (English)
1. Overview (English)
Our desktop auto agent can interpret a series of commands and execute them linearly on your computer. This can be useful for:
- Automating repetitive file operations
- Performing keyboard shortcuts
- Opening applications and typing commands automatically
- Running scripts to process or encrypt/decrypt files
Because this is a demo version, certain advanced features or intelligence-based decision-making are not yet supported. The agent will only respond to valid instructions in a strict format.
2. Supported Commands (English)
2.1 Mouse Actions
-
scroll:x,y
Scrolls the mouse wheel by an offset of(x, y)
.
Example:scroll:0,100
scrolls downward. -
click:x,y
Performs a single click at(x, y)
. -
double-click:x,y
Performs a double-click at(x, y)
. -
right-click:x,y
Performs a right-click at(x, y)
. -
drag:x1,y1,x2,y2
Drags from(x1, y1)
to(x2, y2)
.
2.2 Keyboard Actions
-
press:key
Presses and immediately releases a key.
Example:press:enter
simulates pressing the Enter key. -
type:string
Types out each character in sequence.
Example:type:Hello World!
-
hotkey:key1,key2,...
Performs a combination of keys pressed simultaneously.
Example:hotkey:cmd,space
on macOS for Spotlight. -
type-by-clipboard:string
Copies the string to the clipboard, then pastes it.
Useful for long text or commands.
2.3 Wait Command
-
wait:milliseconds
Pauses for the specified number of milliseconds.
Example:wait:3000
means wait for 3 seconds.
3. Usage Format (English)
All your commands must come after this header line:
SystemMessage-LinearExecution
Then, list each command on its own line in the correct format. For example:
SystemMessage-LinearExecution
hotkey:cmd,space
type:Terminal
press:enter
...
If you do not follow this strict format, the system will respond with a reminder message.
4. Example Workflows (English)
Below are sample command sequences for macOS and Windows to illustrate how you might use the demo. Simply copy-paste these into the agent (chat interface) to see them in action.
4.1 Mac Example
SystemMessage-LinearExecution
hotkey:cmd,space
type:Terminal
press:enter
type-by-clipboard:cd ~/Desktop
press:enter
type-by-clipboard:mkdir FileEncrypt
press:enter
type-by-clipboard:cd FileEncrypt
press:enter
type-by-clipboard:python3 -m venv .venv
press:enter
type-by-clipboard:source .venv/bin/activate
press:enter
type-by-clipboard:python3 -m pip install fast_file_encryption
press:enter
type-by-clipboard:curl -o encrypt.py http://example.com/encrypt.py
press:enter
type-by-clipboard:curl -o public.pem http://example.com/public.pem
press:enter
type-by-clipboard:python3 encrypt.py ~/Desktop/example_file_to_encrypt.zip
press:enter
4.2 Windows Example
SystemMessage-LinearExecution
hotkey:cmd,S
type:PowerShell
press:enter
type:cd Desktop
press:enter
type:mkdir FileDecrypt
press:enter
type:cd FileDecrypt
press:enter
type:python -m venv .venv
press:enter
type:.venv/Scripts/activate
press:enter
type:python -m pip install fast_file_encryption -i https://mirrors.cloud.tencent.com/pypi/simple
wait:5000
press:enter
type:curl -o decrypt.py http://example.com/decrypt.py
wait:5000
press:enter
type:Copy-Item -Path C:\Users\Administrator\Desktop\private.pem -Destination .
wait:5000
press:enter
type:python decrypt.py D:\PC_Trajectory\example_file_to_decrypt.yzip
wait:5000
press:enter
5. Additional Use Cases (English)
- Automated App Launching & Form Filling
- File Organization
- Batch Script Execution
- Web Research Automation
6. FAQs (English)
- Why must I type
SystemMessage-LinearExecution
?
This is a requirement for our demo version, telling the system that the following lines are linear execution commands. - Can I run multiple workflows at once?
In this demo, only one sequence can be executed at a time. - How do I type special characters in
type
ortype-by-clipboard
?
Type them normally, or usetype-by-clipboard
for more reliability. - What if I make a typo in a command?
The command may fail or produce unintended results. Double-check your commands before sending.
7. Further References (English)
For more examples and detailed instructions, please visit: https://yuantsy.com/example
中文版
SystemMessage-LinearExecution
。如果您输入随机内容,系统会提示需按照此格式使用。
目录(中文)
1. 概述(中文)
我们的桌面自动化代理能够理解一系列命令,并 线性 地(逐条)在您的计算机上执行这些命令。该功能适用于以下场景:
- 批量自动化文件操作
- 执行快捷键
- 打开应用程序并自动键入命令
- 运行脚本来处理或加密/解密文件
由于这是 演示版本,一些高级功能或智能化决策暂未开放。代理只会对 格式正确 的指令作出反应。
2. 支持的命令(中文)
2.1 鼠标操作
-
scroll:x,y
滚动鼠标(x,y)
的偏移量。
示例:scroll:0,100
向下滚动。 -
click:x,y
在(x,y)
处进行一次左键单击。 -
double-click:x,y
在(x,y)
处进行双击。 -
right-click:x,y
在(x,y)
处进行右键单击。 -
drag:x1,y1,x2,y2
从(x1,y1)
拖拽到(x2,y2)
。
2.2 键盘操作
-
press:key
按下并立即释放某个按键。
示例:press:enter
模拟回车键。 -
type:string
顺序输入string
中的每个字符。
示例:type:Hello World!
-
hotkey:key1,key2,...
同时按住多个组合键。
示例:hotkey:cmd,space
打开 macOS 的 Spotlight。 -
type-by-clipboard:string
将string
复制到剪贴板后,再进行粘贴。
适合用来输入较长命令或文本。
2.3 等待命令
-
wait:毫秒数
暂停执行指定毫秒数。
示例:wait:3000
表示等待 3 秒。
3. 使用格式(中文)
在所有命令之前,需要加上一行:
SystemMessage-LinearExecution
然后在新行中依次输入各条命令,例如:
SystemMessage-LinearExecution
hotkey:cmd,space
type:Terminal
press:enter
...
如果不按照此严格格式输入,系统会提示您规范格式。
4. 示例工作流程(中文)
以下是 macOS 和 Windows 系统上的一些示例命令序列,您可直接复制粘贴到代理界面测试:
4.1 Mac 示例
SystemMessage-LinearExecution
hotkey:cmd,space
type:Terminal
press:enter
type-by-clipboard:cd ~/Desktop
press:enter
type-by-clipboard:mkdir FileEncrypt
press:enter
type-by-clipboard:cd FileEncrypt
press:enter
type-by-clipboard:python3 -m venv .venv
press:enter
type-by-clipboard:source .venv/bin/activate
press:enter
type-by-clipboard:python3 -m pip install fast_file_encryption
press:enter
type-by-clipboard:curl -o encrypt.py http://example.com/encrypt.py
press:enter
type-by-clipboard:curl -o public.pem http://example.com/public.pem
press:enter
type-by-clipboard:python3 encrypt.py ~/Desktop/example_file_to_encrypt.zip
press:enter
4.2 Windows 示例
SystemMessage-LinearExecution
hotkey:cmd,S
type:PowerShell
press:enter
type:cd Desktop
press:enter
type:mkdir FileDecrypt
press:enter
type:cd FileDecrypt
press:enter
type:python -m venv .venv
press:enter
type:.venv/Scripts/activate
press:enter
type:python -m pip install fast_file_encryption -i https://mirrors.cloud.tencent.com/pypi/simple
wait:5000
press:enter
type:curl -o decrypt.py http://example.com/decrypt.py
wait:5000
press:enter
type:Copy-Item -Path C:\Users\Administrator\Desktop\private.pem -Destination .
wait:5000
press:enter
type:python decrypt.py D:\PC_Trajectory\example_file_to_decrypt.yzip
wait:5000
press:enter
5. 更多使用场景(中文)
- 自动启动应用 & 表单填写
- 文件整理
- 批量脚本运行
- 网络查询与自动化
6. 常见问题解答(中文)
-
为什么必须输入
SystemMessage-LinearExecution
?
这是演示版的要求,告诉系统后续是线性执行的命令。 -
能否同时执行多个命令序列?
当前仅支持一次执行一个命令序列,需要等待执行完再开始新序列。 -
如何在
type
或type-by-clipboard
中输入特殊字符?
可以直接输入或使用type-by-clipboard
。 -
命令输入出错会怎样?
可能执行失败或产生意外结果。请在发送前仔细确认。
7. 参考链接(中文)
更多示例和更详细的使用说明,请访问: https://yuantsy.com/example