From 5f6e900fda4613589bcf38a3423901d048be0051 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Sat, 25 Oct 2025 12:22:37 +0530 Subject: [PATCH] docs: add instructions for exporting script execution results to PDF --- .../docs/automation/scripts/actions-on-script.mdx | 13 +++++++++++++ content/docs/automation/scripts/create-script.mdx | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/content/docs/automation/scripts/actions-on-script.mdx b/content/docs/automation/scripts/actions-on-script.mdx index 30e85f66..cb9eb441 100644 --- a/content/docs/automation/scripts/actions-on-script.mdx +++ b/content/docs/automation/scripts/actions-on-script.mdx @@ -26,6 +26,19 @@ To delete a Script - Use `...` actions button to the right of the script name in the Scripts list - Select `Delete` +### Print / Export to PDF + +Export your script execution results to PDF. + +**To export:** +- Run your script to generate output +- Click the **Print** button in the toolbar +- Select page size (Letter, Legal, or A4) and orientation (Portrait or Landscape) +- Click **Generate PDF** +- Save as PDF or print from the browser dialog + +**Note:** The Print button is disabled until you run the script at least once. + ## Additional Resources diff --git a/content/docs/automation/scripts/create-script.mdx b/content/docs/automation/scripts/create-script.mdx index a4ba7128..415ff540 100644 --- a/content/docs/automation/scripts/create-script.mdx +++ b/content/docs/automation/scripts/create-script.mdx @@ -16,7 +16,7 @@ To create your first script, you can either 1. All scripts are listed in the `Automations` section accessible from the left sidebar. You can also view the scripts in the `All Scripts` tab on the base homepage. 2. Central area is the script **editor** where you can write and run your JavaScript code. 3. The right sidebar is the **execution area** where you can see the output of your script, view logs, and manage script settings. -4. Use the `settings` icon in the top-right corner to configure script settings. Use the `Run` button to execute your script. +4. Use the `settings` icon in the top-right corner to configure script settings. Use the `Run` button to execute your script. Use the `Print` button to export script output to PDF. 5. Access quick links to documentation, support, and settings from the bottom-right corner. ![All Scripts](/img/v2/scripts/layout.png)