| View previous topic :: View next topic |
| Author |
Message |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Fri Jun 18, 2004 8:04 am Post subject: File Option/Assignment |
|
|
I've assigned AHK to Notepad2 for editing.
If I use the context menu option --> New\AutoHotkey Script
to get a plain script template, that assignment is getting lost and has been forcefully reassigned to MicroSoft's Notepad  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Fri Jun 18, 2004 12:44 pm Post subject: |
|
|
I can't explain that unless it's some built-in characteristic of the way templates work. There's nothing in the Installer that does it.
You might try a reg file like the below. I tried this and it works even after the new/script option has been used.
Windows Registry Editor Version 5.00
; This first line is the default verb to use when you double-click a script, etc.:
[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell]
@="Run"
[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command]
@="c:\\util\\bin\\metapad.exe %1"
[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Run\Command]
@="c:\\util\\bin\\metapad.exe %1"
; [HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Open\Command]
; @="c:\\util\\bin\\metapad.exe %1"
It's best to leave the Open cmd commented out unless you know you need that one changed also. Otherwise, there will be no way to launch a script directly from the context menu. |
|
| Back to top |
|
 |
|