home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!psinntp!amexatg!croyer
- From: croyer@atg.amex-trs.com (Chuck Royer)
- Subject: Fooling the Event Manager
- Sender: root@atg.amex-trs.com (Root user)
- Message-ID: <By6EqM.M3K@atg.amex-trs.com>
- Date: Mon, 23 Nov 1992 15:51:58 GMT
- Reply-To: croyer@atg.amex-trs.com
- Organization: American Express Advanced Technology Group
- Keywords: event keyboard modifier
- Followup-To: comp.sys.mac.programmer
- Lines: 15
-
-
- --
- I'm developing a background application that is generating keyboard events.
- I need to be able to generate an event that also sets the status of the
- modifier keys (i.e. Command-s for "save"). Using PostEvent, I can only set
- the character code for the letter "s" and the OS generates the modifiers
- field in the event record. Is there a way I can set the modifiers field as
- well as the character code when I post a keyDown event?
-
- Please e-mail responses and I will post a summary.
-
- Thanks in advance.
-
-
- - Chuck Royer
-