> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 運算器

> 所有 ArcScript 運算器的參考，涵蓋資料庫查詢、HTTP 請求、檔案 I/O 等。

雖然[格式化器](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/value-formatters/formatters.md)可以處理簡單的資料操作和格式化，但在 ArcScript 中，**運算器**用於更復雜的操作。

## 運算器基礎

每個運算器都會指定一組輸入參數和輸出參數。

你可以編寫由事件觸發的指令碼來自動執行訊息處理。在處理過程中，可以呼叫內建運算器來自動執行許多常見任務，從檔案 I/O 到直接使用端口所使用的協議。可用的運算器如下所述。也可以像呼叫內建運算器一樣呼叫 API。使用 [arc:call](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/keyword-reference/op-arc-call.md) 呼叫運算器。

| **運算器名稱** | **描述** |
| - | - |
| [appSendEmail](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-app-send-email.md) | 使用“設定”頁面[通知](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/getting-started/administration/settings/alerts.md)部分中的伺服器資訊（例如 SMTP 伺服器、使用者和密碼）傳送電子郵件。 |
| [cryptoDecrypt](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-crypto-decrypt.md) | 解密加密資料。 |
| [cryptoEncrypt](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-crypto-encrypt.md) | 使用 AES 演算法加密資料。 |
| [dbBeginTransaction](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-begin-transaction.md) | 執行 `BEGIN TRANSACTION` SQL 命令。指示顯式 SQL 交易的起點。 |
| [dbCall](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-call.md) | 在資料庫中執行預存程序。 |
| [dbEndTransaction](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-end-transaction.md) | 指示使用 [dbBeginTransaction](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-begin-transaction.md) 建立的顯式 SQL 交易結束，並提供提交或復原交易的選項。 |
| [dbListColumns](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-list-columns.md) | 列出資料庫伺服器上表或檢視中的列。 |
| [dbListTables](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-list-tables.md) | 列出目標資料庫伺服器中的表。 |
| [dbListViews](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-list-views.md) | 列出目標資料庫伺服器中的檢視。 |
| [dbNonQuery](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-non-query.md) | 對資料庫執行查詢。 |
| [dbQuery](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-db-query.md) | 對資料庫執行查詢。 |
| [encDecode](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-enc-decode.md) | 解碼已編碼的檔案或資料字串。 |
| [encEncode](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-enc-encode.md) | 以指定的編碼格式對檔案或資料字串進行編碼。 |
| [excelClose](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-excel-close.md) | 關閉由 [excelOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-excel-open.md) 建立的可讀 Excel 控制代碼。 |
| [excelGet](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-excel-get.md) | 從 Excel 工作簿取得值。通常用於 [Excel 端口](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/connectors/excel.md)的範本檔案，但也可用於專用指令碼場景，例如 [Script 端口](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/connectors/script.md)。 |
| [excelListSheets](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-excel-list-sheets.md) | 列出指定 Excel 工作簿中的工作表。 |
| [excelOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-excel-open.md) | 為現有 Excel 工作簿建立可讀控制代碼。 |
| [fileCopy](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-copy.md) | 將檔案或目錄複製到指定路徑。 |
| [fileCreate](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-create.md) | 在磁碟上的指定路徑建立檔案，並可選擇寫入內容。 |
| [fileDelete](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-delete.md) | 刪除檔案或目錄。 |
| [fileListDir](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-list-dir.md) | 列出指定路徑中的檔案和目錄。 |
| [fileMakeDir](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-make-dir.md) | 建立路徑指定的目錄。 |
| [fileMove](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-move.md) | 將檔案或目錄移動到指定路徑。 |
| [fileRead](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-read.md) | 讀取輸入檔案的內容，並將資料作為屬性推送到輸出項上。 |
| [fileReadLine](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-read-line.md) | 逐行讀取並列舉輸入檔案的內容，並將資料作為輸出屬性推送出去。 |
| [fileWrite](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-file-write.md) | 將編碼資料寫入新檔案或現有檔案。 |
| [flowExecute](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-flow-execute.md) | 從指令碼執行流。 |
| [httpGet](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-http-get.md) | 對特定的基於 Web 的 API 資源發出 HTTP GET 請求。 |
| [httpPost](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-http-post.md) | 向 API 端點發出 HTTP POST 請求。 |
| [httpPut](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-http-put.md) | 向 API 端點發出 HTTP PUT 請求。 |
| [httpUpload](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-http-upload.md) | 使用 multipart/form-data 發出 HTTP POST 請求，將檔案上傳到符合 [RFC 1867](https://www.rfc-editor.org/rfc/rfc1867) 的 API 端點。 |
| [integrityResetTampering](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-integrity-reset-tampering.md) | 如果檢測到日誌篡改，允許使用者重置[篡改顯跡](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/getting-started/administration/activity.md#tamper-evident-logging)警告狀態。 |
| [jsonClose](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-json-close.md) | 關閉由 [jsonOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-json-open.md) 建立的可讀 JSON 控制代碼。 |
| [jsonDOMGet](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-json-dom-get.md) | 從 JSON 文件取得值。 |
| [jsonDOMSearch](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-json-dom-search.md) | 迴圈輸入 JSON 文件中的元素。 |
| [jsonOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-json-open.md) | 從 URI 或靜態文字為 JSON 資料建立可讀控制代碼。 |
| [messageRead](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-message-read.md) | 讀取訊息項的內容，並以單個輸出字串傳回訊息正文。 |
| [messageReadLine](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-message-read-line.md) | 逐行讀取並列舉訊息項的內容，並一次從訊息中傳回一行。 |
| [sysExecute](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-sys-execute.md) | 執行程式或命令。 |
| [threadSleep](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-thread-sleep.md) | 指示當前執行緒休眠配置的時間。 |
| [xmlClose](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-xml-close.md) | 關閉由 [xmlOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-xml-open.md) 建立的可讀 XML 控制代碼。 |
| [xmlDOMGet](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-xml-dom-get.md) | 從 XML 文件取得值。 |
| [xmlDOMSearch](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-xml-dom-search.md) | 迴圈輸入 XML 文件中的元素。 |
| [xmlOpen](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-xml-open.md) | 從 URI 或靜態文字為 XML 資料建立可讀控制代碼。 |
| [zipCompress](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-zip-compress.md) | 將檔案或資料夾壓縮到存檔中。（GZIP、JAR、TAR、ZIP） |
| [zipExtract](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-zip-extract.md) | 從現有壓縮存檔中提取檔案和資料夾。（GZIP、JAR、TAR、ZIP） |
| [zipScan](https://docs.kasoftware.com/26.3/self-hosted/zh-Hant/scripting/operations/op-zip-scan.md) | 掃描壓縮存檔以取得有關其包含的檔案和目錄的資訊。（GZIP、JAR、TAR、ZIP） |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.