🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WorkBench Disk Objects

#10850
From: Rob Peck
Date: Fri, 06 Jan 1989 23:25
29 lines
1942 bytes
In article <255@csd4.milw.wisc.edu>, trantow@csd4.milw.wisc.edu (Jerry J Trantow) writes:
> I have been having some problems with a WorkBench Interface.  I can
> GetDiskObj() and read in all the ToolTypes to adjust the color, icons,
> etc., but now I want to also save some information (window size) in the
> Tooltypes array.  What do I need to do to add some tooltype strings before
> I PutDiskObj()


Look for the latest version of "SPTOY.ARC" -- that is the version of
SpeechToy that I hacked on recently.  When it used to start up, it
assumed the defaults on all of its parameters.  Now it reads the
tooltypes on init from its own icon file, and rewrites the tooltype
strings (on command from a new menu item) so that the defaults are
what is written into the icon file.  I believe that it made it onto
a recent FISH disk and is available on PLINK and CSERVE.  As a bonus,
it also has an AREXX port, accepting from AREXX the very same
tooltype strings for decoding by a common parsing function.  Hate
to write double parsing for a single function so I made both the same.

The SPTOY mods were made to allow SPTOY to be the speaker for other
programs, queueing up sounds and so on.  In its next (minor) mod,
I'd plan to make it possible to use AREXX to inquire about the
various values (primarily the string and its translation), rather
than just accepting values (a one-way communication) as is now
built into the program.

Check it out.

Rob Peck   (source and object, of course).
Technical Details
Message-ID: <1385@ardent.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!ubvax!ardent!rap
References: <255@csd4.milw.wisc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!ubvax!ardent!rap
From: rap@ardent.UUCP (Rob Peck)
Newsgroups: comp.sys.amiga.tech
Subject: Re: WorkBench Disk Objects
Summary: example is there for the taking...
Keywords: DiskObject WorkBench
Message-ID: <1385@ardent.UUCP>
Date: 6 Jan 89 23:25:16 GMT
References: <255@csd4.milw.wisc.edu>
Distribution: comp.sys.amiga.tech
Organization: Dana Computer, Inc., Sunnyvale, CA
Lines: 29