home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11798 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.1 KB

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