| View previous topic :: View next topic |
| Author |
Message |
bits
Joined: 17 Nov 2006 Posts: 7
|
Posted: Mon Dec 03, 2007 2:54 pm Post subject: How to "Edit this Script" in any editor other than |
|
|
Whenever I right click on Autohotkey TRAY icon and click on "edit this script"; I always get the AHk script in notepad.
How do I change these default settings to open the script in Textpad ?? |
|
| Back to top |
|
 |
Stefaan Guest
|
Posted: Mon Dec 03, 2007 3:43 pm Post subject: |
|
|
You can change this in your registry.
1. Open the registry editor: Click on run in your start menu and enter regedit and press enter
2. Scroll to the folder HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command
3. Double click on (Default) in the right pane
4. Change c:\windows\system32\notepad.exe to your preferred editor. I'm using PsPad: "c:\Program Files\PSPad editor\PSPad.exe" "%1" (All quotes included). The "%1%" is important, because windows replaced it by the file name you want to edit. |
|
| Back to top |
|
 |
bits
Joined: 17 Nov 2006 Posts: 7
|
Posted: Thu Dec 06, 2007 10:44 am Post subject: |
|
|
| Stefaan wrote: | You can change this in your registry.
1. Open the registry editor: Click on run in your start menu and enter regedit and press enter
2. Scroll to the folder HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command
3. Double click on (Default) in the right pane
4. Change c:\windows\system32\notepad.exe to your preferred editor. I'm using PsPad: "c:\Program Files\PSPad editor\PSPad.exe" "%1" (All quotes included). The "%1%" is important, because windows replaced it by the file name you want to edit. |
Thanks a Lot ! |
|
| Back to top |
|
 |
Lompsy Guest
|
Posted: Thu Dec 06, 2007 12:19 pm Post subject: |
|
|
copy paste into a regfile
I like notepad++ as the best ahk editor since it understands its language (plugin)
| Code: |
REGEDIT4
[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command]
@="C:\\Program Files\\Notepad++\\notepad++.exe %1"
|
|
|
| Back to top |
|
 |
pockinator
Joined: 06 Dec 2007 Posts: 33
|
Posted: Thu Mar 20, 2008 3:49 pm Post subject: |
|
|
| I use notepad++, too. Thanks for this tip! |
|
| Back to top |
|
 |
|