🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Help GetDiskObject() won't work with a disk icon.

#2549
From: Thomson
Date: Mon, 04 Dec 1989 23:59
21 lines
1489 bytes
I need help on the correct usage of GetDiskObject().  It works fine for me
when I  use it on a project, tool, trashcan, or drawer icon, but it won't
work on a disk icon.

First, what should I give to GetDiskObject as the icon name for a disk icon?
".info" will be appended to whatever I give, so if I want to get the icon
for disk MYDISK: shouldn't I give "MYDISK:" as the argument to GDO(), 
resulting in "MYDISK:.icon" being read?  (Doesn't work)

Second, what is the GetWBObject() function?  Should I be using this
instead of GetDiskObject for disk icons?

Any help would be appreciated.  In return I'll send a copy of my program, 
which will allow you to essentially "diskcopy" a floppy into a drawer
(for example copy a fred fish disk into a drawer on your hard disk)
by clicking on the floppy disk icon, and a drawer icon.  The floppy
icon will be used to create a new drawer icon (within the drawer  which 
was clicked on) and then all files will be copied into the new drawer.

Thanks,
Duncan Thomson
Technical Details
Message-ID: <81720@linus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!mit-amt!snorkelwacker!spdcc!merk!alliant!linus!mbunix!duncant
References: <2578@cbnewse.ATT.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!mit-amt!snorkelwacker!spdcc!merk!alliant!linus!mbunix!duncant
From: duncant@mbunix.mitre.org (Thomson)
Newsgroups: comp.sys.amiga.tech
Subject: Help GetDiskObject() won't work with a disk icon.
Message-ID: <81720@linus.UUCP>
Date: 4 Dec 89 23:59:28 GMT
References: <2578@cbnewse.ATT.COM>
Sender: news@linus.UUCP
Reply-To: duncant@mbunix.mitre.org (Thomson)
Lines: 21