Documentation

Asset Transformer Studio


Asset Transformer Studio


Scripting

Using the Scripting panel in Asset Transformer Studio
Read time 1 minuteLast updated a month ago

Scripting
The Scripting panel gives access to Asset Transformer Studio's Scripting Editor.

Commands

Scripting toolbar

Command

Description

Keyboard Shortcut

(1) New fileCreates a new file (in a new tab)CTRL + N
(2) Open a scriptOpens an Explorer window to access a saved Python scriptCTRL + O
(3) Save scriptSaves current scriptCTRL + S
(4) Save script in a fileSaves current script in a new Python file
(5) Execute the scriptExecutes the whole scriptCTRL + E
(6) Execute SelectionExecutes only the selected lines of the scriptCTRL + SHIFT + E
(7) Show non-printable charactersToggles on/off non-printable characters
(8) Open sample scripts directoryOpens the
Sample Scripts
directory located in the installation directory in an Explorer window

Tab management

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

Search/Replace
The Script Editor comes with a Search/Replace tool to help quickly modify scripts.
Note
To use the CTRL+F shortcut, or any other keyboard shortcut available, the Script panel needs to be activated, by clicking inside the panel.

Comment/Uncomment

Code lines can be commented/uncommented by using the following keyboard shortcuts:
  • Comment current lines: CTRL+K+C
  • Uncomment current lines: CTRL+K+U