Spanish Total.js
English
Documentation For AI agents
Contents

Run scripts

Start JavaScript and shell scripts from the editor.

.md GitHub
On this page

You can run a .js or .sh file of a project and read its output in a window.

Allow scripts in the project

An administrator turns this on once for each project.

  1. Open Projects in the main bar and click the project.
  2. Check Enable service mode and Allow scripts.
  3. Click SAVE.

Run a script

  1. Open the .js or .sh file.
  2. Press Ctrl+B, or Cmd+B on macOS. You can also right-click in the code and choose Run script.

A window shows the output of the script. --END-- and the running time appear when it finishes.

A window with the output of a script, the END mark and the running time

A script runs on the server with the same rights as Code. Run only scripts you trust.

Made in Europe