To add scripts to or remove scripts from the Script menu, follow the instruction below:
>Choose Script > Open Scripts Folder in CotEditor and Finder opens the folder for CotEditor script at:
~/Library/Application Scripts/com.coteditor.CotEditor/
Put your script files in this folder, or remove from there.
In CotEditor, choose Script > Update Script Menu.
CotEditor recognizes scripts only when their file extensions are: .applescript .scpt .sh .pl .php .rb .py .js
You can change the order of appearance or assign keyboard shortcuts by modifying the names of your script files.
See File naming rules for CotEditor scripts for more details.
You can create subfolders in the scripts folder. They will appear as submenus.
The changes you made inside the scripts folder will be automatically reflected when CotEditor launches. Thus, you need to perform “Update Script Menu” only when you made modifications during CotEditor is running.