Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: adz on September 07, 2004, 01:22:44 PM

Title: Best way to change the default RAM disk icon...
Post by: adz on September 07, 2004, 01:22:44 PM
...in Workbench 3.1??? I've tried modifying the startup-sequence to copy an icon to the RAM disk once the RAM disk has been mounted, which does work, but unfortunatly it seems to retain the icon location (which isn't even on my screen) that is stored in the disk.info file, any advice would be greatly appreciated. Thanks in advance :-).
Title: Re: Best way to change the default RAM disk icon...
Post by: whabang on September 07, 2004, 01:42:53 PM
Well,

You could snapshot the icon's new location, and then copy disk.info back to the location, from which it originally came.
Title: Re: Best way to change the default RAM disk icon...
Post by: adz on September 07, 2004, 01:50:00 PM
Quote

whabang wrote:
Well,

You could snapshot the icon's new location, and then copy disk.info back to the location, from which it originally came.


Never thought of that, geez I can be real dumb sometimes, thanks dude. :oops: :-D
Title: Re: Best way to change the default RAM disk icon...
Post by: whabang on September 07, 2004, 02:00:42 PM
I swear I could hear your "DO'H!" all the way here! :lol:
Title: Re: Best way to change the default RAM disk icon...
Post by: adz on September 08, 2004, 12:24:52 AM

 :laughing:
Title: Re: Best way to change the default RAM disk icon...
Post by: Cyberus on September 08, 2004, 02:03:48 AM
D'oh nuts
Title: Re: Best way to change the default RAM disk icon...
Post by: Hyperspeed on September 10, 2004, 11:22:47 PM
What I would do is this:

01. Select cleanup
02. Copy the Disk.info from Ram: to Workbench:Prefs/Env-Archive/Sys/
03. Add the following to your S:User-Startup ->

Copy Workbench:Prefs/Env-Archive/Sys/Disk.info Ram:Disk.info
Relabel >NIL: Ram: Ram-Disk
Assign >NIL: "Ram Disk:" Ram:

(The first line copies the hard disk copy of the Ram icon into memory on bootup, the other two lines relable Ram Disk: as Ram-Disk so that scripts such as RiVa-GUI don't get confused by the missing space in RAM[space]Disk)

;-) :-)