Another request : in my example (--- my comment ---) text added before and after line are identical. But if I want 2 different texts, I cannot use %Variable name%. I would need 2 different %variable name%.
Would it be possible to add %Variable name 0% to %Variable name 9%. It would be so wonderful !!
Hi JJK, the HE var is %SelectedLine% as place holder of the whole line.
The "Before" and the "After" are not %vars% but plain text.
So you would use this as :
Hippo %SelectedLine% EDITand therefor you can add what you want 'before' and 'after'
like f.ex.
Copy %SelectedLine% D:\Backups\*.*Edit:
Ahh, i forgot:
You can create your own 'Input-Boxes' by write %place holder name% in your Code:
f.ex.
%Text To Add In Front% %SelectedLine% %Text to add after%Now:
1.) select one or more lines
2.) launch this template
3.) you are prompted for the text to insert before first,... and then for the text to insert after.
Or use the same text for 'before' and 'after' by using the same %place holder% twice:
f.ex.
%Text To Add% %SelectedLine% %Text To Add%This way you are asked only once for an text to insert, and this text is used twice, 1x before and then 1x after.
You can make any combination, like:
Here just some text to insert in front of the lines %SelectedLine% %What text to add as suffix%or
%Comment sign% %SelectedLine% %Comment sign% this was for testing onlyBTW you say I see how to execute template by shortcut, but how by menu ?
Take a look under "Format"-menu: "Surround by Template"
I think this menu item should get an new name:
- Execute template

- Insert template

- run template

--
Otherwise an great option, i like it :thumpsup:
Improvement suggestion: maybe an optional option to skip blank lines ?