Hello. I am reviving this ancient thread because I'm again dealing with the same problem, only now on Windows 10, where the above solution is not working.FanaticGuru wrote: ↑14 Jun 2014, 22:40That is not defined anywhere in my script. What editor is used is a Windows thing. It uses the default editor defined for AutoHotkey.AHKxx wrote:How can I make Hotkey Help use Notepad++ when it opens a script for editing?
I just did a clean installation of Windows 7, and the Hotkey Help script is using the native Windows Notepad. I'm pretty sure that previously it would open scripts in NPP. am I remembering that incorrectly, or have I just forgotten how to configure it for that?
Thanks again for this great script.
For example with me it opens up in SciTE4AutoHotkey.
I believe you have to change it in the register here:
HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command
FG
Trying to get the Hotkey Help script to use Notepad++ when opening scripts. I've changed the registry key and supplied the path to Notepad++, followed by %1. The full key now reads "D:\Google Drive\Other\Notepad++\notepad++.exe %1"
What then happens when I try to open a script from inside Hotkey Help is, it opens NPP but I get a series of errors saying that each segment of that path doesn't exist, asking if I want to create it. When the native notepad.exe %1 is used, everything works as expected. The paths themselves definitely exist.
The problem seems related to there being spaces in the path, as the errors show "Google" instead of "Google Drive" or "Third" and "Party" instead of "Third Party" and similar partial parsing of the path segments.
I'm using HotKey Help with your AHK Startup script.
The full path to NPP is: "D:\Google Drive\Other\Notepad++\notepad++.exe"
The full path to the individual AHK Startup files is: "D:\Google Drive\Other\AHK files\Startup"
Those same paths have been working for years on another device under W7 and W8.1, and are working correctly with notepad.exe under W10. But not with NPP.
Any ideas what might be going on? I hope the above made sense. Thanks for your help and for these amazingly useful scripts!