Advertisement
Lorenzo501
Jan 18th, 2025
2
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bit offtopic but w/e, "Context Menu New AutoHotkey Script.reg":
  2. Windows Registry Editor Version 5.00
  3.  
  4. ; I removed it, so this will add it back
  5. [HKEY_CLASSES_ROOT\.ahk\ShellNew]
  6. "Command"="\"C:\\Program Files\\AutoHotkey\\UX\\AutoHotkeyUX.exe\" \"C:\\Program Files\\AutoHotkey\\UX\\ui-newscript.ahk\" \"%1\""
  7.  
  8. ; I copied the template from %ProgramFiles%\AutoHotkey\UX\Templates to %SystemRoot%\ShellNew, took out the "v" of "v2.0" inside the script, removed the multi-line comment and renamed it.
  9. ; So this will remove the value "FileName"="CustomTemplate.ahk"
  10. [HKEY_CLASSES_ROOT\.ahk\ShellNew]
  11. "FileName"=-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement