Is it possible to add a default script in SciTE4AutoHotkey

The popular SciTE-based AutoHotkey Script Editor
DarkWisk
Posts: 23
Joined: 17 Jul 2022, 19:38

Is it possible to add a default script in SciTE4AutoHotkey

Post by DarkWisk » 26 Aug 2022, 09:54

Hi, is it possible for scite to always open with default script like in screenshot below? Every time I click the new script button id like it to open with that script every time, copy pasting is annoying.

Image
Attachments
Screenshot 2022-08-26 075129.png
Screenshot 2022-08-26 075129.png (50.35 KiB) Viewed 855 times

lexikos
Posts: 9635
Joined: 30 Sep 2013, 04:07
Contact:

Re: Is it possible to add a default script in SciTE4AutoHotkey

Post by lexikos » 31 Aug 2022, 00:37

The method I posted in 2013 still works.
https://www.autohotkey.com/board/topic/54431-scite4autohotkey-v3004-updated-aug-14-2013/?p=568765

You may want to change the path in the Lua script (from os.getenv("windir").."\\ShellNew\\Template.ahk" to something else).

Post Reply

Return to “SciTE4AutoHotkey”