While attending a DotNetDevNet meeting in September 2009, by Stephen Oakman and Ronnie Barker, I remembered they used a tool called AutoHotKey, I’ve just revisited the tool and found it has increased my productivity, and combining it with Jean-Paul S. Boodhoo article for replacing spaces with underscores it is just perfect for generating unit tests.
Only issue I’ve had is getting the AutoHotKey script to run automatically. I’m always having to run the script manually.
Do you know what needs to be done to run it automatically?
If you edit the script AutoHotKey.ahk from within AutoHotKey, you can add the script to do this
Here is my script:
^!n::
IfWinExist Untitled – Notepad
WinActivate
else
Run Notepad
return
^!u::Run C:\Program Files\AutoHotkey\replace_spaces_with_underscores.ahk
^+u::Run C:\Program Files\AutoHotkey\spaces_back_to_spaces.ahk