07 March 2018, 19:10 | #21 |
Registered User
|
I "enhanced" the Script a little bit:
MountADx.script Code:
RequestChoice >ENV:ADFCHOICE "Insert disk" "Insert Disk to unit:" "1|2|3|4|5|6|7|0" assign >NIL: ad$ADFCHOICE: exists devices if not warn removedisk >NIL: UNIT $ADFCHOICE insertdisk >NIL: UNIT $ADFCHOICE $adx diskchange >NIL: ad$ADFCHOICE: else mount >NIL: ad$ADFCHOICE: from devs:adf.ml removedisk >NIL: UNIT $ADFCHOICE insertdisk >NIL: UNIT $ADFCHOICE $adx diskchange >NIL: ad$ADFCHOICE: endif Code:
RequestChoice >ENV:ADFCHOICE "Remove disk" "Unit to remove:" "1|2|3|4|5|6|7|0" assign >NIL: ad$ADFCHOICE: exists devices if not warn removedisk >NIL: UNIT $ADFCHOICE diskchange >NIL: ad$ADFCHOICE: endif Code:
echo [] >ENV:adx execute S:MountADx.script Code:
execute S:UnmountADx.script |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using XFS to mount an ADF image from the shell | Gaula92 | support.Apps | 8 | 15 April 2024 17:59 |
How to mount ADF / ADZ / DMS files using XFS | Amiga1992 | support.Apps | 30 | 05 March 2018 16:57 |
How to mount ADF CB 3.9 | amigatv | support.Apps | 19 | 25 November 2015 13:44 |
looking for Escape From Mount Doom [PD] ADF | CritAnime | request.Old Rare Games | 1 | 02 December 2011 05:24 |
how to hide volumes in WB 3.1? | Bamiga2002 | support.Apps | 6 | 18 September 2009 13:29 |
|
|