# 流程控制

| Control Flow                      | 流程控制               |
| --------------------------------- | ------------------ |
|                                   |                    |
| Pause                             | 暂停                 |
|                                   |                    |
| Pause Until                       | 暂停直到               |
|                                   |                    |
| Pause Until Change                | 暂停直到改变             |
| Group                             | 团体                 |
| Until                             | 直到                 |
|                                   |                    |
| While                             | 尽管                 |
|                                   |                    |
| Repeat                            | 重复                 |
| If Then Else                      | 如果那么否则             |
|                                   |                    |
| Switch/Case                       | 开关/外壳              |
| For Each                          | 对于每个               |
|                                   |                    |
| For Each Path in Finder Selection | 对于 Finder 选择中的每个路径 |
|                                   |                    |
| For Each Path in Folder           | 对于文件夹中的每个路径        |
|                                   |                    |
| Try/Catch                         | 试着抓                |
| Throw                             | 扔                  |
|                                   |                    |
| Execute a Macro                   | 执行宏                |
|                                   |                    |
| Execute a Subroutine              | 执行子程序              |
| Return Result                     | 返回结果               |
|                                   |                    |
| Trigger Macros by Hot Key         | 通过热键触发宏            |
| Assert                            | 断言                 |
|                                   |                    |
| Cancel All Macros                 | 取消所有宏              |
| Cancel All Other Macros           | 取消所有其他宏            |
|                                   |                    |
| Cancel This Macro                 | 取消该宏               |
| Cancel Just This Macro            | 仅取消此宏              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://km.qxpai.cn/dong-zuo-action/liu-cheng-kong-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
