I want /*{TAB} to be changed into:
/*********************************
*********************************/
, so I can easily create a comment-block (in PHP). However, when I use
:*://`t::
/****************************************{ENTER}{TAB}
****************************************/{ENTER}{LEFT 38}
return
It returns some error. 🙁
How to fix this?
You’re close… The reason for the error “this line does not contain a recognized action” is that you’re not telling AutoHotKey what to do with the text, i.e. you need to add
Sendcommands to the start of each line.This is quite a lot closer:
Things to mention:
{ENTER}, you might need to add some backspaces, to delete auto-indentation at the start of the next line.