# Edit

Opens the current script for editing in the associated editor.

Edit

The Edit command opens the current script for editing using the associated "edit" verb in the registry (or Notepad if no verb). However, if an editor window appears to have the script already open (based on its window title), that window is activated instead of opening a new instance of the editor.

The Edit command is equivalent to selecting "Edit This Script" from the tray icon menu.

This command has no effect when operating from within a compiled script.

On a related note, the Extras folder included with AutoHotkey has some add-ons for editors such as TextPad. In addition, context sensitive help for AutoHotkey commands can be enabled in any editor via this example. Finally, your productivity may be improved by using an auto-completion utility like ISense, which works in almost any editor. It watches what you type and displays menus and parameter lists, which does some of the typing for you and reminds you of the order of parameters.

#### Related

Reload

#### Example

    Edit ; opens the script for editing.