🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#2563
From: Michael Sinz - CATS
Date: Wed, 06 Dec 1989 20:51
25 lines
1814 bytes
In article <81720@linus.UUCP> duncant@mbunix.mitre.org (Thomson) writes:
>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)

Use "MYDISK:disk" which loads "MYDISK:disk.info" which is the icon
for the disk.  There are, however, times when the disk does not have a
disk.info file since it is using a default icon.  Then you will have to assume
a default and build your own...

>Thanks,
>Duncan Thomson

/----------------------------------------------------------------------\
|      /// Michael Sinz -- CATS/Amiga Software Engineer                |
|     ///  PHONE 215-431-9422  UUCP ( uunet | rutgers ) !cbmvax!mks    |
|    ///                                                               |
|\\\///          When people are free to do as they please,            |
| \XX/                they usually imitate each other.                 |
\----------------------------------------------------------------------/
Technical Details
Message-ID: <8857@cbmvax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!oliveb!amiga!cbmvax!mks
References: <2578@cbnewse.ATT.COM> <81720@linus.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!oliveb!amiga!cbmvax!mks
From: mks@cbmvax.UUCP (Michael Sinz - CATS)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help GetDiskObject() won't work with a disk icon.
Message-ID: <8857@cbmvax.UUCP>
Date: 6 Dec 89 20:51:53 GMT
References: <2578@cbnewse.ATT.COM> <81720@linus.UUCP>
Reply-To: mks@cbmvax.UUCP (Michael Sinz - CATS)
Organization: Commodore Technology, West Chester, PA
Lines: 25