If you enter custom code consisting of more than one line, the initial EOL and the final 'return' should be added automatically, if not present.
For example, generating the current timestamp in a way it can be used in filenames with the shortcut Ctrl-Win-e have to look like this in AHK:
;It will look like 2018-10-05_08.36h
^+#e::
FormatTime, CurrentDateTime,, yyyy-MM-dd_HH.mm'h
SendInput %CurrentDateTime%
return
FormatTime, CurrentDateTime,, yyyy-MM-dd_HH.mm'h
SendInput %CurrentDateTime%
in the custom code field, it won't work, even if I append the line with 'return'.
There must be an initial EOL after the shortcut and before the code.
It would be great if this initial EOL and the return would added, if they don't exist.