Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!inria!timpit0!cnetlu!ranson From: ranson@cnetlu.UUCP (Ranson) Newsgroups: comp.sys.mac.programmer Subject: Re: A replacement for MenuKey Summary: How about MULTIPLE KCHRs? Message-ID: <1364@cnetlu.UUCP> Date: 23 Jan 90 07:39:15 GMT References: <9715@hoptoad.uucp> Organization: Ctre Nat Etudes Telecom, 22301 LANNION, FRANCE Lines: 13 In article <9715@hoptoad.uucp>, tim@hoptoad.uucp (Tim Maroney) writes: > if ((kchr = GetIndResource('KCHR', 1)) == 0) Tim, you missed an important point here: the System file may contain several KCHR resources (Mine has 3, the US and French official versions, and a custom version that makes the French keyboard much more compatible with US apps). You can even change KCHR anytime using the Keyboard cdev. The ID of the resource used at boot is stored in the itlb resource, but you can easily get the current KCHR ID with a call to the Script Mgr. Daniel Ranson uucp: ...!mcvax!inria!cnetlu!ranson (or ranson@cnetlu.fr) X400: ranson@lannion.cnet.fr