Return to North Glen or Reading List or Credo


For anyone using Windoze, I recommend Autohotkey, with which you can program keys 
and key combinations to output whatever you like, 
for example below you will see I have set the f9 key to produce a blank hyperlink

Autohotkey is free from http://www.autohotkey.com/


Get it and read the instructions. Here is my customised ini file – feel free

; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments.  They are not executed.
; This script is a .INI file because it is a special script that is
; automatically launched when you run the program directly. By contrast,
; text files that end in .ahk are associated with the program, which
; means that they can be launched simply by double-clicking them.
; You can have as many .ahk files as you want, located in any folder.
; You can also run more than one .ahk file simultaneously and each will
; get its own tray icon.

; Please read the QUICK-START TUTORIAL near the top of the help file.
; It explains how to perform common automation tasks such as sending
; keystrokes and mouse clicks.  It also explains how to use hotkeys.

; SAMPLE HOTKEYS: Below are two sample hotkeys.  The first is Win+Z and it
; launches a web site in the default browser.  The second is Control+Alt+N
; and it launches a new Notepad window (or activates an existing one).  To
; try out these hotkeys, run AutoHotkey again, which will load this file.

#z::Run www.autohotkey.com

^!n::
IfWinExist Untitled - Notepad
        WinActivate
else
        Run Notepad
return
; to make f2 a time/datestamp
f2::
send %A_dddd% %A_MMMM% %A_dd%, %A_YYYY% at %A_hour%:%A_min%:%A_sec% GMT{enter}
return
; to make ctrl-alt-i produce bold italic quote
^!i::
send <b><i>""</i></b>
return
; to make ctrl-alt-s say Slainte
^!s::
send Slainte
return

; to make f9 create a hyperlink
f9::
send <b><a href=""></a></b>
return

; to make f11 create salutation with sláinte and link to rudepot picture
f11::
send <b><a href="http://home.btconnect.com/tipiglen/rudepot1.jpg">sláinte</a></b>{enter}ed{enter}%A_dd%/%A_mm%/%A_YYYY% at %A_hour%:%A_min%:%A_sec% GMT{enter}
return

; to make f12 create salutation with peacedove
f12::
send <b><a href="http://home.btconnect.com/tipiglen/loveandpeace3.gif">Houb Salaam</a></b>{enter}ed{enter}%A_dd%/%A_mm%/%A_YYYY% at %A_hour%:%A_min%:%A_sec% GMT{enter}
return

; to make first portion of address to homepage
f10::
send http://home.btconnect.com/tipiglen/
return

; f8 for different salutation
f8::
send <b><a href="http://home.btconnect.com/tipiglen/capacity.html">Vaya con Gaia</a></b>{enter}ed{enter}%A_dd%/%A_mm%/%A_YYYY% at %A_hour%:%A_min%:%A_sec% GMT{enter}
return

; f6 for Mandarin salutation
f6::

Transform, Clipboard, Unicode, <b>&#20;&#30693;&#13;
&#32773;&#13;
&#19981;&#13;
&#35328;&#12290;&#13;
&#35328;&#13;
&#32773;&#13;
&#19981;&#13;
&#30693;&#12290;&#13;</b>
MsgBox The clipboard now contains your text which can be pasted wherever you like (ctrl-v)
return


^!u::  ; Control+Alt+U hotkey.
MsgBox Copy some Unicode text onto the clipboard, then return to this window and press OK to continue.
Transform, ClipUTF, Unicode
Clipboard = Transform, Clipboard, Unicode, %ClipUTF%`r`n
MsgBox The clipboard now contains the following line that you can paste into your script. When executed, this line will cause the original Unicode string you copied to be placed onto the clipboard:`n`n%Clipboard%
return

; Note: From now on whenever you run AutoHotkey directly, this script
; will be loaded.  So feel free to customize it to suit your needs.

    Hints on links and stuff mostly for BBC discussion blogs

Return to North Glen or Reading List or Credo

Valid XHTML 1.0 Transitional Valid CSS!