ccc_ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (05/02/90)
On page V-312 of Inside Mac, it documents the GetScript function of the Script Manager and tells you that a verb value of smScriptKeys returns the ID of a "KEYC" resource. I believe this is incorrect, the "KEYC" should actually be "KCHR" (I can't see any "KEYC" resources in my Roman-only System file, anyway). Certainly NCSA Telnet uses it this way--it has a custom KCHR resource to do the mapping of the option key as a control key, which it installs as the key map for the Roman script while it's in the foreground. So the call you want would be GetScript ( GetEnvirons(smKeyScript), { current keyboard script } smScriptKeys { KCHR for that script } ) Lawrence D'Oliveiro Computer Services Dept fone: +64-71-562-889 University of Waikato fax: +64-71-384-066 Hamilton, New Zealand electric mail: ldo@waikato.ac.nz Drugs are for people who can't handle direct electrocortical stimulation.