🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9214

Workbench tool caller

#9214
From: Gregory Roberts
Date: Wed, 29 Jun 1988 04:12
16 lines
1616 bytes
[  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
Technical Details
Message-ID: <8191@ncoast.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!hal!ncoast!gregr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mandrill!hal!ncoast!gregr
From: gregr@ncoast.UUCP (Gregory Roberts)
Newsgroups: comp.sys.amiga.tech
Subject: Workbench tool caller
Keywords: shouldn't it be easy to...?
Message-ID: <8191@ncoast.UUCP>
Date: 29 Jun 88 04:12:09 GMT
Organization: Cleveland Public Access UN*X, Cleveland, OH
Lines: 16