|Editable Keys File.
|~~~~~~~~~~~~~~~~~~~

|Each hotkey definition is a condition line followed by a list of the
|commands to execute on separate lines.
|Each definition must be separated by one or more blank lines or comments.

|The condition line contains the key to press and also any requirements of
|what must be under the pointer before the commands are executed.
|It's important to give as many conditions as possible to avoid, for
|example, sending inapplicable messages to tasks which can't handle them.

|The syntax for the condition line is:
|Key=<exp>[,TaskName=<string>][,WTitle=<string>][,WFlags=<exp>][,WColours=<exp>][,Confirm]
|where <exp> is short for <expression> and the keywords are case insensitive.
|The conditions after the key may be given in any order.

|The key to press is as returned by the Wimp's Key_Pressed event after
|letters have been converted to upper case.
|TaskName gives the name of the task to which the window under the pointer
|must belong.
|WTitle gives the title string that the window under the pointer must have.
|WFlags gives the flags that the window under the pointer must have.
|WColours give the colours that the window under the pointer must have.
|Confirm means that the hotkey press must be 'OS_Confirmed'.

|The syntax for the commands is simply the functions' names and parameters
|as in the 'Functions' file but without the preceding 'FN`'.
|See the Functions library for the currently defined functions.


|Delete sprite, (Delete)
Key=&7F,TaskName=Paint,WFlags=&BF000002,WColours=&1070207,Confirm
Menu("3,2")

|Show colours, (Insert)
Key=&1E,TaskName=Paint,WFlags=&FF000002,WColours=&FF070207
Menu("2,2")

|Select colour, (Copy)
Key=&18B,TaskName=Paint,WFlags=&FF000002,WColours=&FF070207
Menu("2,1")

|Show tools, (Home)
Key=&1CD,TaskName=Paint,WFlags=&FF000002,WColours=&FF070207
Menu("2,3")

|(Ctrl-A)
Key=&1
StartTask("AddTinyDir")
Beep

|(Ctrl-I)
Key=&9
ShowInkeys

|(Ctrl-P)
Key=&10
ShowPointerInfo

|(Escape)
Key=&1B
RestoreWimpMode

|(F11)
Key=&1CB
LoseCaret

|Move pointer left by a pixel, (Left)
Key=&18C
MovePointer(-1,0)

|(Right)
Key=&18D
MovePointer(1,0)

|(Down)
Key=&18E
MovePointer(0,-1)

|(Up)
Key=&18F
MovePointer(0,1)

|By two pixels, (Ctrl-Left)
Key=&1AC
MovePointer(-2,0)

|(Ctrl-Right)
Key=&1AD
MovePointer(2,0)

|(Ctrl-Down)
Key=&1AE
MovePointer(0,-2)

|(Ctrl-Up)
Key=&1AF
MovePointer(0,2)

|Count ("C")
Key=&43,TaskName=Filer,WFlags=&BF000002,WColours=&1070207
Menu("1,4")

|Count all ("M")
Key=&4D,TaskName=Filer,WFlags=&BF000002,WColours=&1070207
Menu("2")
Menu("1,4")

|Tidy ("T")
Key=84,TaskName=Pinboard,WFlags=&10840,WColours=&FF0702FF
Menu("1")

|Faster ("F")
Key=70,TaskName="Filer Action Window",WFlags=&85000012,WColours=&1070207
Menu("0")
