KeyScript
KeyScript Set the keyboard script
#include <Script.h> Script Manager
void KeyScript( scriptCode );
short scriptCode ; value for new keyboard script
KeyScript sets the keyboard script, changes the keyboard layout to that of
the new script, and draws the new script's icon in the upper-right corner of
the menu bar.
scriptCode is the identifier for the new keyboard script.
Returns: none

Notes: Applications can call SetEnvirons and include the verb smKeyScript to
change the keyboard script without changing the keyboard layout or the
menu-bar script icon. Apple recommends you use such a method only for
special operations that will be over quickly as it runs counter to the
Macintosh's user interface goals and can confuse other Script Manager
routines.