To delete a script
- If the Scripter window is not already open, click Animation tab  Script panel Script panel Scripter Scripter . .
- Right-click the script you want to delete in the tree view, and click Delete Item on the context menu. 
 Pointing device: Click 

 at the bottom of the tree view.
 Note: If you accidentally delete an item, click 
Undo
 on the 
Quick Access toolbar to restore it. 
 
 Shortcut menu: Right-click the script, and click Delete Item.