Step 1 — Load the Extension
- Open Edge and navigate to
edge://extensions/(orchrome://extensions/for Chrome) - Enable Developer mode
- Click Load unpacked and select the
notepad-launcherfolder - Copy the Extension ID — you’ll need it in Step 2 (format:
abcdefghijklmnopqrstuvwxyz123456)
Step 2 — Configure the Native Messaging Host
Opencom.notepad.launcher.json and replace:
YOUR_EXTENSION_ID_HERE→ your actual Extension IDpath→ full path to yournative_host.py(ornative_host.baton Windows)
- Windows
- macOS
- Linux
- Update
install_host.reg— replaceC:\\path\\to\\com.notepad.launcher.jsonwith the full path to your manifest. - Double-click
install_host.reg→ click Yes. - Verify Python is installed:
python --version
- Edge:
HKEY_CURRENT_USER\Software\Microsoft\Edge\NativeMessagingHosts\com.notepad.launcher - Chrome:
HKEY_CURRENT_USER\Software\Google\Chrome\NativeMessagingHosts\com.notepad.launcher
Step 3 — Test
- Click the extension icon in Edge/Chrome
- (Optional) Enter a file path in the text field
- Click Launch Notepad
- The configured application should open
