# Customizing the Script menu

To add scripts to or remove scripts from the Script menu, follow the instruction below:

1. In Finder, go to the folder:
   ~/Library/Application Support/CotEditor/ScriptMenu
2. Put your script files in this folder, or remove from there.
3. In CotEditor, choose Script > Update Script Menu.

- CotEditor recognizes scripts only when their file extensions are: .applescript .scpt .sh .pl .php .rb .py
- 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 ScriptMenu folder. They will appear as submenus.
- The changes you made inside the ScriptMenu 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.

## See also

- File naming rules for CotEditor scripts
- Working with UNIX scripts
- Working with AppleScript scripts