AmigaActive (203/2307)

From:Neil Bothwick
Date:2 Oct 2000 at 20:16:20
Subject:Re: deldir

G.A.Griggs said,

> Kree Neil

>>NB Set up an Opus button to open the deldir for the drive of the current
>>NB lister, in a new lister. Then you simply select and copy the files you
>>NB want.

> I've given it a try the best I can manage is to get a dir flash up for a
> split second I can't figure out how to get a lister to display the .deldir
> can you help me thanks.

Set up the MMB action (RMB if you have an incomplete mouse) for the
delete button in the toolbar to

ARexx: DOpus5:ARexx/LoadDeldir.opus5 {Qp} {Ql}

and save the following script as DOpus5:ARexx/LoadDeldir.opus5

-------------------------------------------------------------------
/* Loads the .deldir of the current path into a lister */
/* Usage: LoadDeldir.opus5 {Qp} {Ql} */

options results
parse arg port handle

address(port)
'lister query' handle 'path'
path = result
'command scandir "'left(path,pos(':',path))'.deldir/"'
-------------------------------------------------------------------

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine
Connected via Wirenet - http://www.wire.net.uk
The UK's first Amiga-only internet access provider
---
Drink varnish and you'll have a lovely finish.

Quote carefully and read all ADMIN:README mails