Reputation: 22404
I know that you can run and live-reload ahk
scripts. And I've seen the scintilla-based editor that provides debugging. But, is there any kind of command-line-based REPL?
I was testing the statement to get the active window's process name and thought it would really helpful!
ahk> WinGet, active, ProcessName, A
powershell.exe
Upvotes: 9
Views: 1370
Reputation: 178
I open my AHK script NotePad (or Vim, or whatever). Then I add my test code as the first line. I have a hotkey defined to reload the script.
MsgBox, Hello World ^+r:: Reload Return
So I edit, then Ctrl-s, then Ctrl-Shift-R, test code runs. Works pretty well.
Upvotes: 2
Reputation: 1450
This may also be something like what you're looking for
Hope it helps
Upvotes: 3