This article relates to the earlier post "autohotkey automating common (blogger) tasks"
I'm currently writing a piece of creative writing that I feel requires the use of English slang in order to add “texture”.
Perhaps I'm being pedantic but I wish to use the “lang” attribute on <spans> to identify possibly unknown works to web robots.
I have researched this a little and I cannot find the relevent information at a glance - I hazily recall a for,at someting like <span lang=“en-gb-x”>
This is more a question than an answer really - I am going with the format below on my autohotkeys script (with g as the mnemonic for slang):
^!g:: ; ctrl alt g calls this
Send <span lang="en-gb-slang"></span>
SendInput {left}{left}{left}{left}{left}{left}{left}
return
While composing this post I also realised it might be handy in future to be able to add left and right tildes for quoting code rather than displaying it so I am also adding:
Send “<>”
return
These menemonics are obviously suitable for an English qwerty keyboard “shift .” giving the > sign - if you use a different style of keyboard then edit these hot keys to make your own custom scripts.
If anyone knows a better way of marking up slang than this please enlighten me with a response.