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

Discuss features, issues, about Editors for AHK
Gawyn210
Posts: 1
Joined: 02 May 2018, 08:47

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

10 May 2018, 16:52

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?
swagfag
Posts: 508
Joined: 11 Jan 2017, 17:59

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

10 May 2018, 17:18

Code: [Select all] [Download] GeSHi © Codebox Plus

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

Return to “Editors”

Who is online

Users browsing this forum: No registered users and 1 guest