Page 1 of 1

How do I make Sublime Text 3 the default editor for .ahk in Windows 10?

Posted: 10 May 2018, 16:52
by Gawyn210
I've tried to edit the registry but it's default is the build in notepad. I've tried changing the default application to Sublime Text rather than AutoHotKeys, but then the code won't run because it need AutoHotkeys to execute. So, how to you do it?

Re: How do I make Sublime Text 3 the default editor for .ahk in Windows 10?

Posted: 10 May 2018, 17:18
by swagfag

Code: Select all

[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command]
@="\"your\\path\\to\\sublime\\sublime_text.exe\" \"%1\""