Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

How to change AutoHotKey default editor


  • Please log in to reply
16 replies to this topic
Timo
  • Guests
  • Last active:
  • Joined: --
FileSelectFile, SelectedFile, 3, , Open a file, Executable (*.exe)
if SelectedFile =
    MsgBox, User cancelled, no actions taken.
else
	RegWrite, REG_SZ, HKEY_CLASSES_ROOT, AutoHotkeyScript\Shell\Edit\Command,, "%SelectedFile%" "`%1"
ExitApp
BR,
Timo

arthasdk
  • Members
  • 1 posts
  • Last active: Jan 07 2014 09:24 AM
  • Joined: 04 Jan 2014

change in registry:
HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command

ty, registered just to say thanks