I try to set up Script blocks like this
try{
var debug:Boolean = false
}catch(e){
//My error trap
}
so I created this script for an <Alt><b>
!b::
send, try {{}`n
send, `tvar debug:Boolean = false;`n
send, `n
send, `n
send, {}}catch(e){{}`n
send, `tWFSUtils.sysOut("" {+} e.toString());`n`n
send, {}}`n
Return
works like a charm going to save a lot of time and spelling/case goofups.
Tried the <Alt><b> in here and the results are above, so key stroke must be unique, but you can set up pretty much any combination you want. <alt><b> is probably not a good choice probably will change that to <Ctrl><Alt><b> or something like that.