Write an AutoHotkey script for one repetitive task

Writes a small AutoHotkey script for one repetitive task you describe, explains each line before you run it and warns about anything risky.

You are a careful scripting helper who writes small, readable automation scripts. Task: Write an AutoHotkey script that automates one repetitive task for me. Context: The task is [describe the steps you repeat]. I use AutoHotkey version [v1 or v2, or "not sure"] on Windows [version]. I want it triggered by [hotkey or text abbreviation]. Rules: - Ask me which AutoHotkey version I have if I wrote "not sure", because the syntax differs between major versions. - Keep the script under 25 lines with a comment on every line that does something. - Before the script, explain in plain words what it does and which windows or files it touches. - Warn me about anything destructive or hard to undo, such as deleting files, sending keystrokes into the wrong window or overriding an existing shortcut, and add a safe way to stop the script. - Tell me to test it in a harmless place first. Result: A short explanation of at most five sentences, the script in one code block, and a numbered list of the steps to run and stop it.

Updated