巨集

開啟對話方塊以管理巨集。

若要使用此指令...

Choose Tools - Macros - Organize Macros - LibreOffice Basic, or press +F11 (if not assigned by your system).


巨集名稱

Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.

巨集的來源/儲存巨集的位置

列出可以在其中開啟或儲存巨集的程式庫和模組。若要將巨集與特定的文件一起儲存,請開啟此文件,然後開啟此對話方塊。

執行/儲存

Runs or saves the current macro.

指定

開啟 [自訂] 對話方塊,您可以在其中將選取的巨集指定到功能表指令、工具列或事件。

編輯

Starts the LibreOffice Basic editor and opens the selected macro or dialog for editing.

新增/刪除

Creates a new macro, or deletes the selected macro.

若要建立新巨集,請在 [巨集的來源]清單中選取「Standard」模組,然後按一下 [開啟新檔]

若要刪除巨集,請選取該巨集,然後按一下[刪除]

新增程式庫

Saves the recorded macro in a new library.

新增模組

Saves the recorded macro in a new module.

統籌概覽

開啟 [巨集統籌概覽] 對話方塊,您可以在其中新增、編輯或刪除現有的巨集模組、對話方塊和程式庫。

模組/對話方塊標籤頁

Lets you manage modules or dialog boxes.

模塊/對話方塊

列出現存的巨集和對話方塊。

編輯

開啟所選巨集或對話方塊以進行編輯。

關閉

關閉對話方塊並儲存所有變更。

新增

開啟編輯器並建立新的模組。

新增

開啟編輯器並建立新的對話方塊。

刪除

刪除選取的元素或已確認要刪除的元素。

選項標籤程式庫

允許您管理目前應用程式和任何已開啟文件的巨集程式庫。

位置

選取要管理的巨集程式庫所在的應用程式或文件。

程式庫

列出用於目前應用程式和所有已開啟文件的現有巨集程式庫。

編輯

開啟 LibreOffice Basic 編輯器,以便您修改所選程式庫。

關閉

關閉對話方塊並儲存所有變更。

密碼

指定或編輯所選程式庫的密碼

新增

建立新的程式庫。

名稱

輸入新程式庫或模組的名稱。

匯入

尋找要加入到目前清單中的 LibreOffice Basic 程式庫,然後按一下 [開啟舊檔]。

刪除

刪除選取的元素或已確認要刪除的元素。

Scripts

若要開啟 [BeanShell 巨集] 對話方塊,請選擇 [工具] - [巨集] - [編組巨集] - BeanShell。若要開啟 [JavaScript 巨集] 對話方塊,請選擇 [工具] - [巨集] - [編組巨集] - JavaScript。

匯出

開啟對話方塊將所選的程式庫匯出為擴充軟體或 Basic 程式庫。

巨集

Select a macro or script from "user", "share", or an open document. To view the available macros or scripts, double-click an entry.

執行

To run a script, select a script in the list, and then click Run.

建立

Creates a new script. The default script editor opens after you enter a name for the script.

輸入程序檔的名稱。

編輯

Opens the default script editor for your operating system.

重新命名

Opens a dialog where you can change the name of the selected script.

刪除

Prompts you to delete the selected script.

[巨集選擇器] 對話方塊包含兩個清單方塊,名為 [程式庫] 清單方塊和 [巨集名稱] 清單方塊。

程式庫

從「使用者」、「分享」或從開啟的文件中選擇巨集或程式檔。若要檢視程式庫的內容,請在清單中的條目上按兩下。

巨集名稱

按一下程式檔,然後按指令按鈕。