Run a script LuvMacro can’t convert
On Windows, a script LuvMacro can’t convert can run with real AutoHotkey, after you say yes. What changes when it does.
What this is
LuvMacro 2.2 and later can run an AutoHotkey script with AutoHotkey itself, the real program, instead of converting it. This is for Windows only. On a Mac, a script LuvMacro can’t convert is still refused.
LuvMacro tries to convert first. A converted script becomes steps you can edit, exactly as described in Import an AutoHotkey script. Only when the converter refuses a script does it open to run with AutoHotkey, and the message tells you why it couldn’t be converted.
How it works
- Press Open… and choose the .ahk file. Opening never runs anything.
- Press Play. The first time for each script, LuvMacro asks one question. It says the script is a real program, what it appears to use, which version of AutoHotkey will run it, and whether it uses a key LuvMacro already uses.
- Press Run script to approve that exact file, or Cancel to run nothing. If the script doesn’t say which AutoHotkey version it is for, the question also asks whether it is version 1.1 or version 2.
- The script runs. Press Stop or F8 to end it. When it ends by itself, the window says so.
Run every script this way
Turn on Settings > Playback > Exact AutoHotkey to run every script with AutoHotkey itself, even the ones LuvMacro could convert. That is useful when a script depends on something a converted copy does differently. Scripts LuvMacro can’t convert always run this way.
What is different
- Nothing is changed. LuvMacro does not edit the script. It runs from its own folder, so relative file names work as if you had double-clicked it.
- LuvMacro’s own window features don’t apply. Window selection and Fit to game window are not used for these scripts. The start delay still applies.
- Repeat. If a script finishes on its own, Repeat continuously runs it again. A script that keeps running by itself (hotkeys, timers, windows) or ends itself with ExitApp is left alone, and LuvMacro says it was not repeated.
- Not covered. Old ANSI builds of AutoHotkey version 1, version 2.1 alpha features, and a native ARM64 build of AutoHotkey. The 64-bit programs are used, and on an ARM computer Windows runs them in emulation.
If something goes wrong
Problems starting or running a script have codes from LM-8101 to LM-8107, for example when LuvMacro can’t start AutoHotkey, the script hasn’t been approved, or AutoHotkey stopped it because of a mistake in it. Search the code in Error codes.
LuvMacro has not been tested with Roblox or other games. See Known limitations.
