🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WBench interface programming question

#9064
From: Randal m. Spencer [RmS]
Date: Fri, 10 Jun 1988 06:00
35 lines
2472 bytes
Recently on *comp.sys.amiga.tech* kevin@amdahl.uts.amdahl.com (Kevin Clague) wrote:
...In article <55844@sun.uucp> cmcmanis@sun.UUCP (Chuck McManis) writes:
... >In article <34776@amdahl.uts.amdahl.com> (Kevin Clague) writes:
...
...     stuff deleted....
...
... >->      Later I use this as the ToolType in any
... >->      project Icons that are written to disk.
... >
... >Not the ToolType, should be in the DefaultTool pointer.
...
... Duh... Yes. Sorry I meant Default Tool type....
...ToolTypes allows user/programmer defined parameters to be kept in
...icons.

Question for all you Workbench programmers out there.  I have a program that
is distributed on a disk and when the user creates a project the default tool
is Name:filename.  I used to have a program that created an absolute path,
but I found myself moving it around so much (and I had more floppies in those
days) that a relative assign seems easier.  If the user has the program on
floppy, fine, otherwise he does an assign, like I have Dpaint: and ProWrite:
on my hard disk (and Manx: and Lattice:, etc...)  All the assigns take time
to do, but I just run a background CLI at a low priority that sets up my hard
disk when I boot.  And if the assign hasn't been made (yet) I get a requester
that says "Please insert ProWrite:" and I either find the disk, or click
Retry when the background startup is done.

I can see some merit to doing it so that when the program has been moved the
user starts up the program and finds the file, or Shift-Clicks on the program
and the file, but I am not sure which is better...Anyone?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Randy Spencer      P.O. Box 4542   Berkeley  CA  94704        (415)222-7595 
spencer@mica.berkeley.edu        I N F I N I T Y         BBS: (415)222-9416
..ucbvax!mica!spencer            s o f t w a r e                  AAA-WH1M
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Technical Details
Message-ID: <10737@agate.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!lll-tis!helios.ee.lbl.gov!pasteur!agate!eris!spencer

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!pacbell!lll-tis!helios.ee.lbl.gov!pasteur!agate!eris!spencer
From: spencer@eris.berkeley.edu (Randal m. Spencer [RmS])
Newsgroups: comp.sys.amiga.tech
Subject: Re: WBench interface programming question
Message-ID: <10737@agate.BERKELEY.EDU>
Date: 10 Jun 88 06:00:04 GMT
Sender: usenet@agate.BERKELEY.EDU
Reply-To: spencer@eris.berkeley.edu (Randal m. Spencer [RmS])
Organization: Infinity Software :-)
Lines: 35