AutoHotkey: How to transform a word into a start tag and end tag, e.g. "div" becomes "<div></div>"
<p>I really like Zen Coding and other features that help to speed up coding, e.g. automatic tags. Especially when using normal text editors on the web, it would be really helpful to imitate this behavior with AutoHotkey:</p>

<p>Enter <code>div</code>, hit <code>CTRL+E</code> and it becomes <code>&lt;div&gt;&lt;/div&gt;</code>, putting the cursor | in the middle <code>&lt;div&gt;|&lt;/div&gt;</code>.</p>

<p>Furthermore, this should work for every word, no matter what length.</p>

<p>E.g. <code>p</code> → CTRL+E → <code>&lt;p&gt;&lt;/p&gt;</code></p>

<p><code>span</code> → CTRL+E → <code>&lt;span&gt;&lt;/span&gt;</code></p>