🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.amiga
Article #5215

Re: Workbench Questions

#5215
From: Chuck McManis
Date: Fri, 31 Oct 1986 22:19
31 lines
2385 bytes
The question was posed :
>   
>2) What would it take to create an icon or window which you could drag
>   file icons over and drop there with the resulting action being that the
>   file represented by the moved icon would be printed?
>2a)If not 2), is there a program (something like DirUtil) which allows
>   mouse selection from a list of files and a print button which causes
>   the selected files to be printed? (If not, I might try writing it,
>   but I have an immediate need, and I'm still quite new at this.)
The answer is no, not like that you can't. Although you should send
it in as a suggestion. Probably the easiest way to implement it would
be like the trashcan, rather like a directory that when it has something
in it would begin to print out those things. The biggest difficulty is
that you probably don't know what it is that your printing. Ideally I 
should be able to move a Dpaint icon or a text file icon into this
thing and have it work correctly. You could look at the default tool
in the tool type field of the .info file but that only works if you
know the name of all the paint programs around. What you can do now
and is fairly straight forward is either write a program or an execute
script that prints  files and activate it by using extended select
on the things you want printed, and then double click the icon for
your print program. The workbench will forward the names of the
other icons to your program so that you can print them. Unfortunately
this is not available "right now" and so is probably not much help.
There is the added difficulty that many files (like C sources) have
no icon and thus can't be selected easily from the workbench.

-- 
--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
Technical Details
Message-ID: <8796@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!cmcmanis
References: <106@ritcv.UUCP> <945@cbmvax.cbmvax.cbm.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!pyramid!decwrl!sun!cmcmanis
From: cmcmanis@sun.uucp (Chuck McManis)
Newsgroups: net.micro.amiga
Subject: Re: Workbench Questions
Message-ID: <8796@sun.uucp>
Date: Fri, 31-Oct-86 17:19:54 EST
Article-I.D.: sun.8796
Posted: Fri Oct 31 17:19:54 1986
Date-Received: Mon, 3-Nov-86 20:11:01 EST
References: <106@ritcv.UUCP> <945@cbmvax.cbmvax.cbm.UUCP>
Organization: Sun Microsystems, Inc.
Lines: 31