Script Extensions

The Script module extends Seer’s functionality by enabling custom controls, property views, and preview renderers using external scripts (primarily Python).

Setup

Seer requires a configured interpreter to run script-based extensions.

  1. Configure Interpreter:
    • Navigate to Settings > Scripts.
    • Recommended: Click Download to fetch the official Python-3.8.10-embed-win32 interpreter. Extract it to a permanent folder and select python.exe.
    • Advanced: You may use a custom Python installation, though official scripts are only validated against the default embedded interpreter.
  2. Add Scripts:
    • Visit the Seer-Scripts repository to find and download desired functionality.
    • Extract the script archive.
    • In Settings > Scripts, click Add from local and select the script directory.

Capabilities

Scripts can hook into three main areas of Seer:

1. Control Bar

Adds interactive buttons to the file-level control bar.

  • Example: Unzip – Trigger extraction commands directly from the UI. Hovering over the button reveals the underlying command execution.

2. Property View

Displays extra metadata in the property panel.

  • Example: SHA512 – Automatically computes and displays the file checksum upon selection.

3. Preview

Enables support for new file formats (e.g., .ipynb, .epub) by rendering content into the preview window, either via embedded windows or HTML conversion.


Resources