[comp.sys.amiga.tech] Workbench tool caller

gregr@ncoast.UUCP (Gregory Roberts) (06/29/88)

[  I don't believe in line eaters  ]

   Anyway... I read not too long ago about an idea so that users could put theirfavorite tools into a menu on the WorkBench screen, and call them up at will.
   Here's my theory:
    Have a text file that specified the name as it should appear in the menu,,
the 'command' (including path and options (if any)) that should be used to invoke the tool, and a flag that says if this tool can only be called from CLI (it does 'printf's' or some such).

   When run, this program would read the menu title in, set up a menu, attach it to the end of the workbench menu bar, and sit back and wait.  When it got a message for one of the programs, it would check the CLI flag, if it was set, open a shiny new CON: window as stdin/stdout.  Then all it would have to do is invoke the program and go back to the waiting game.


   I'm not positive about all of this (like how exactly to get the messages, and how to set the CON: window as stdin/stdout) but it seems reasonable to me.  Or am I just blowing smoke?
 
    Gregory Roberts II
    (I'm new and don't have a .signatute yet!  But just you wait!  :-)
 
(oof... I just looked back at this sucker... I better review my vi, oughtn't I?):s