01.
Open the "Manage User-Defined Commands" window
E.g. add a New command entry under "Run Script"
Click the "Edit..." button for the script
Enter:
Code: Select all
#1;
#2;
Open the "Manage User-Defined Commands" window again
Go to the "Run Script" category
Click on the "Edit..." button
The full code isn't displayed, instead you get:
Code: Select all
#1; [multi-line script; press Edit ->]
02.
Close the source code window
Assume that the new command we created in 01. is the only item created so far...
Delete the complete command with the "Delete" button
Now you can click on the "OK" button but the window won't close
It closes only on "Cancel" but ofc in this case the command to delete isn't actually deleted...