Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!psueea!jove.cs.pdx.edu!bartonr From: bartonr@jove.cs.pdx.edu (Robert Barton) Newsgroups: comp.sys.amiga.tech Subject: Help GetDiskObject() won't work with a disk icon. Message-ID: <2048@psueea.UUCP> Date: 6 Dec 89 15:38:26 GMT Sender: news@psueea.UUCP Reply-To: bartonr@jove.cs.pdx.edu (Robert Barton) Organization: Dept. of Computer Science, Portland State University; Portland OR Lines: 16 duncant@mbunix.mitre.org (Thomson) writes: > 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) The file you need to read is MYDISK:Disk.info, so you have to pass the name "MYDISK:Disk" (even though there is no file called Disk on MYDISK:). This is somewhat non-orthogonal, but that's how it works. > Second, what is the GetWBObject() function? Should I be using this > instead of GetDiskObject for disk icons? No. GetWBObject() isn't even documented in the new autodocs, so C-A seems to be discouraging its use.