PDA

View Full Version : To have a file requester displayed under AmigaDOS


oldpx
05 November 2002, 00:18
I'm writing an AmigaDOS script in order to use with adf.device and would like to have a file requester displayed to specify which adf to mount. In directory opus I create a button and type the following:

Insertdisk UNIT 0 {Rf}
Diskchange ad0:

{Rf} means file requester. If it wasn't possible to specify a file in opus I would have to type the name of the file under amigados every time like

Insertdisk UNIT 0 test.adf

Is there a {Rf} equivalent in amigados? I don't want to use opus for mounting adfs, I'll just create scripts and using moretools, I'll call these scripts from the tools menu

Akira
05 November 2002, 00:28
I'm not sure this is available under AmigaDOS but I'm sure you can access this functionality through ARexx.

How? beats me, I lost all my mad (?!) Arexx skillz

RetroMan
05 November 2002, 00:36
Just use the CLI command REQUESTFILE the output is like "FILENAME" ;)

oldpx
05 November 2002, 00:54
Amigaboy beats you this time RetroMan :D, Thanks to you all, I'll do this with requestfile :)

RetroMan
05 November 2002, 01:01
Maybe he has beaten me in TIME but I made it PUBLIC first :D:D:D