SendKeys.dll - Written By Dan 2001 *FINAL*
=========================================
Email: Dan@dan21.ukshells.co.uk

-----------------------------------------------------------
Description
-----------------------------------------------------------

This mIRC dll allows you to "fake" accelerator (shortcut) keys and send them 
to mIRC. The source will be made available on my site.

-----------------------------------------------------------
Notes and Issues
-----------------------------------------------------------

1) mIRC MUST be the active application, if not the key(s) could get sent 
   to the wrong app (this is the way the dll works at the moment).

2) If you wish to (for example) show the mIRC options dialog from a dialog you 
   have constructed yourself, you MUST use "/showmirc -s" FIRST, otherwise the 
   keys will get sent to the dialog you have open. Look at the example mrc file 
   to see what I mean :)

3) There is a possible issue when sending a "K" using /dll sendkey.dll CTRL K 
   (note: uppercase "K"). Sometimes if you use an uppercase "K" you will get 
   the mIRC Colour code instead of the dialog, its much better to use a 
   lowercase "k". Strangely if you use the /clear command in the active 
   window the problem corrects itself (all key codes are sent to mIRC in 
   lowercase..). All other keycodes do not have this problem (and /alt k and
   /alt K work fine as well). 

-----------------------------------------------------------
DLL Functions (see mrc file for the aliases)
-----------------------------------------------------------

ALT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Format: /dll sendkey.dll ALT KEY

KEY = key(s) you wish to send (no spaces)

Examples:

To open the mIRC options dialog: /dll sendkey.dll ALT O
To open the mIRC channel folder dialog: /dll sendkey.dll ALT J
To open the mIRC About dialog: /dll sendkey.dll ALT ha   
("h" opens the help menu then "a" chooses the "About" item)

CTRL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Format: /dll sendkey.dll CTRL KEY

KEY = key(s) you wish to send (no spaces)

Examples:

To open the mIRC Colour index dialog: /dll sendkey.dll CTRL k (must use lower
case "k" in this instance)

KeyStroke
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Format: /dll sendkey.dll KeyStroke KEY(S)

KEY = key(s) (letters, numbers etc) or keys. E.g. ABcd

Example:

To open the mIRC About dialog: /dll sendkey.dll KeyStroke JustALotOfLetters

This only sends normal characters to mIRC, I'm sure someone can do something 
with it :)

-----------------------------------------------------------
Aliases
-----------------------------------------------------------

/alt 
/ctrl
/keystroke
/aboutsk

