Built-in Batch Editor
The built-in batch file editor (the
Script Editor (SCRIPTED) command) allows you to create, edit and run batch files of various formats: ActiveX (.JS, .VBS), LISP (.LSP), DCL, SCR.

You can use the following keyboard shortcuts in the editor:
-
Select All: Ctrl+A
-
Copy: Ctrl+C, Ctrl+Ins
-
Insert: Ctrl+V, Shift+Ins
-
Cut: Ctrl+X, Shift+Del
-
Undo: Ctrl+Z, Alt+BackSpace
-
Redo: Ctrl+Y
-
Go to String: Ctrl+G
-
Find: Ctrl+F
-
Find Next: F3
-
Find Selected: Ctrl+F3
-
Replace: Ctrl+H
-
Open: Ctrl+O
-
Save: Ctrl+S
-
Save As: Ctrl+Alt+S
-
Properties: Ctrl+P
-
Run: Ctrl+R
-
Find the Matching Pair Bracket: Ctrl+{
For LISP scripts, an executing of the selected part of the code is implemented. To do this, select the necessary LISP code in the editor and click the
Run script button with the CTRL key pressed.
Editor’s settings allow you to adjust the display and formatting of individual language elements.
New in Custom Command Creating
The Customize Interface command on the ribbon tab
Manage > Customization > Interface opens the
Customize User Interface dialog box where you can create new custom and virtual commands.

In nanoCAD Plus 20 you can assign icons in ICO and BMP formats for custom and virtual command buttons.
LISP in virtual command
The standard technique for creating Lisp command involves: creating an LSP file, including it in the startup list of the
Load/Unload Applications dialog, and only then, creating a new command in the
Customize User Interface dialog.
Now, the LISP expression can be written directly when creating a virtual command, without creating and downloading a separate LISP-file. To do this, select the
Command line parameters radio-button and enter the LISP expression in the
Keyword field.

Using these commands, you can create custom buttons in the ribbon, panels, menus, status bar.
It also became possible to create buttons for custom script commands.