Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!samsung!caesar.cs.montana.edu!icsu8212 From: icsu8212@caesar.cs.montana.edu (Stone) Newsgroups: comp.sys.amiga.tech Subject: Re: Help! GetDiskObject() Message-ID: <2651@caesar.cs.montana.edu> Date: 6 Dec 89 19:37:50 GMT Sender: news@caesar.cs.montana.edu Reply-To: icsu8212@caesar.cs.montana.edu (Stone) Distribution: usa Organization: Montana State University, Dept. of Computer Science, Bozeman MT 59717 Lines: 23 Reply-To: duncant@mbunix.mitre.org (Thomson) Lines: 21 >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. >for disk MYDISK: shouldn't I give "MYDISK:" as the argument to GDO(), >resulting in "MYDISK:.icon" being read? (Doesn't work) You are correct in assuming what is being read. The problem is, you are reading the wrong thing. If you want the disk icon, you should specify Disk.info. The .info file by itself only specifies where the workbench window for that disk will come up (I think). But I do know that the disk icon is saved in Disk.info. If the file does not exist, a default system icon is used. -- =============================================================================== //X\\ | icsu8212@caesar.cs.montana.edu /// \\\ AMIGA HACKER | Murphy's First Law: (un-amended) /// Mike Stone | Nothing can possibly go wrong.