-
When creating a new snippet I'd like to have the Script section prefilled with LLInit()
[[llpart1]] It's easier for me to delete when not needed. I tried looking through the .ahk files, but it was sort of hard to follow. It seems if I messed with the wrong spots, the script logic might do weird things in certain 'Edit modes'. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
An interesting idea. The templates wouldn't be too difficult to implement, so I'll look into that (in a few weeks). My idea would be to look for files in a The editor is probably the worst section of code of lintalist (it grew out of hand and ended up with some 🍝 code which is hard to "follow" and bugfix). For now I would do it like this, in #IfWinActive, Lintalist snippet editor ahk_class AutoHotkeyGUI
::/s1::
Send LLInit()`n[[llpart1]]
Return
; more hotstrings here
#IfWinActive So now you type
|
Beta Was this translation helpful? Give feedback.
-
just fyi the I haven't actually never compiled |
Beta Was this translation helpful? Give feedback.
An interesting idea. The templates wouldn't be too difficult to implement, so I'll look into that (in a few weeks). My idea would be to look for files in a
ScriptTemplates
folder so you can simply copy/edit files in the folder and they should appear in the dropdown.The editor is probably the worst section of code of lintalist (it grew out of hand and ended up with some 🍝 code which is hard to "follow" and bugfix).
For now I would do it like this, in
plugins\MyPlugins.ahk
I would add AutoHotkey hotstrings like so:So now you type
/s1
and it would i…