home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!gumby!destroyer!ncar!noao!arizona!jtillema
- From: jtillema@cs.arizona.edu (John Tillema)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Keymap & prog input & ... Questions
- Keywords: keymaps,input
- Message-ID: <19813@optima.cs.arizona.edu>
- Date: 30 Jul 92 00:28:00 GMT
- Sender: news@cs.arizona.edu
- Lines: 39
-
- I am starting on writing a program that will (hopefully) allow the user to
- use a mouse to input any keystroke that you normally do with the keyboard to
- any program currently running via either a task list or a point and click
- on window where you want the input to go to system (probably the latter).
- (My keyboard recently died on me leaving me keyboardless for a week, and
- of course it happened when a program was due and it was on my hard drive,
- something like this would have been VERY useful).
-
- Some questions on this are:
- 1) How does one access the keymaps? I would ideally like to have it
- display the correct keyboard from what the user wants instead of
- always showing the qwerty one (it will have a display sort of like
- KeyToy's). Haven't looked much into this, but did browse the RKMs
- (Includes 2.0) and didn't see anything.
-
- 2) Is it possible to redirect stdin for a program that is running?
- That is, say I am running Excellence!,VLT or your favorite App and
- want to type stuff in using my program. Is it possible to put info
- directly into a program from another without cutting & pasting?
- (this is assuming you have already defined the target window to be
- the one you are "typing" to). Can this be done with msg ports?
- For that matter how is stdin handled in a windowing program?
- (the only program I wrote used requesters to do it, how do other
- progs do this?)
-
- 3) refer to 2) This is my biggest stumbling block. Don't know much on
- msgports, etc yet.
-
- This will be probably targeted at 2.0 machines (Wanna learn all those neat
- new functions!).
-
- Any suggestions on these or anything else you might think would be
- useful, would be welcomed!
-
- Thanks
- John
- jtillema@caslon.cs.arizona.edu
-
- (now I can start on this since I just got a new keyboard!! YEAH!!!)
-