I have "New AutoHotkey Script.ahk" and "New AsciiDoctor Document.adoc" in NewItems folder.
Here is what I have inside "New AutoHotkey Script.ahk":
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
"New AsciiDoctor Document.adoc" also have some contents. However, when I create new AutoHotkey or new AsciiDoctor file with XYplorer's context menu, this file is blank.
Is there a way to preserve text from original file? I.e., each time I create AutoHotkey script in XYplorer, this script should contain the lines posted above?
XYplorer Beta Club