I’ve added some autohotkey dealies for when I’m writing blog posts. If you’re blog isn’t about Excel and/or doesn’t use the CodeColorer plugin, they won’t be of much use to you.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other <myemail@nowhere.com> ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. GroupAdd, DDoEPosts, Edit Post ‹ Daily Dose of Excel — WordPress - Mozilla Firefox GroupAdd, DDoEPosts, Add New Post ‹ Daily Dose of Excel — WordPress - Mozilla Firefox #IfWinActive ahk_group DDoEPosts :*:ccvb:: SendInput [cc_vb][/cc_vb]{left 8} Return :*:ccivb:: SendInput [cci_vb][/cci_vb]{left 9} Return :*:pmw:: SendInput <abbr title="Personal Macro Workbook">PMW</abbr> Return :*:vbe:: SendInput <abbr title="Visual Basic Editor">VBE</abbr> Return |
The first one expands brackets so I can paste in VB code. The second does the same but for inline vb code.
The third and fourth take common abbreviations and expand those so the definition appears when you hover over them. More of those to come, I’ll bet.
Awesome.
Posting code? Use <pre> tags for VBA and <code> tags for inline.