Edit

Opens the current script for editing in the associated editor.

 

Parameters

None

 

Remarks

This command opens the current script for editing (using the associated "edit" verb, or Notepad if no verb), or activates an existing Editor window if it finds one it thinks may have the file open based on its window title. It is equivalent to selecting "Edit This Script" from the tray 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.

 

Related

Reload

 

Example

Edit ; opens the script for editing.