Script
The Script panel gives access to PiXZY STUDIO' Scripting Editor.
Commands
Command |
Description |
Keyboard Shortcut |
New file |
Creates a new file (in a new tab) |
|
Open a script |
Opens an Explorer window to access a saved Python script |
|
Save script |
Saves current script |
|
Save script in a file |
Saves current script in a new Python file |
|
Execute the script |
Executes the whole script |
CTRL + E |
Execute Selection |
Executes only the selected lines of the script |
CTRL + SHIFT + E |
Show non-printable characters |
Toggles on/off non-printable characters |
|
Open sample scripts directory |
Opens the Sample Script Directory located in the installation directory in an Explorer window |
|
Interrupt PiXYZ Process |
Button activates if the current script contains the core.interruptionRequested() command, used to stop the execution of the script |
Tab management
Each script is opened in its own tab within the Scripting Editor.
Use the right-click menu from a tab's top bar to handle the scripts open in the Scripting Editor.
Search/Replace
The Script Editor comes with Search/Replace tool to help quickly modify scripts.
NOTE To use the CTRL+F shortcut to search/replace code, the Script panel needs to be activated, by clicking inside the panel.