AHK_File_Edit_Advanced
Edit AutoHotkey scripts by specifying file paths and modifications. This tool helps modify, view, or create .ahk files with preview options to review changes before applying them.
Instructions
Ahk file editor PRIMARY FILE EDITING TOOL - Use this IMMEDIATELY when user mentions a .ahk file path and wants to modify it. This tool automatically detects the file, sets it active, and helps determine the best editing approach. ALWAYS use this instead of generating code blocks when a file path is provided.
π Active File: Not set. Use AHK_File_Active to select a target.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the AutoHotkey file to edit (required) | |
| changes | Yes | Description of what changes to make to the file | |
| action | No | Action to perform: edit (modify existing), view (read only), create (new file) | edit |
| dryRun | No | Preview changes without modifying file. Shows affected lines and change count. |