Contents | Index | < Browse | Browse >
- ReqFile L T W H Title SAVE|LOAD|MULTI|DIR Variable DirName
This is an ASL file requester. You must have the asl.library in
your LIBS: directory.
(L)eft, (T)op, (W)idth and (H)eight are the starting position and
size of the requester. If you resize it thereafter, the new sizes
will be used.
TITLE is the title in the requester window title bar.
SAVE, LOAD, MULTI, DIR are the types or requesters you can use.
VARIABLE is the name of the variable, where the names of any file(s)
that were chosen will be placed. If its a multiple selection, the
files will be listed one after the other. If the file names contain
spaces, they will be quoted.
DIRNAME is the starting directory that the requester will open on.
The DirName will be remembered, and the next time the requester
opens it will open at the dir you were at last time, however..
You can put a # character in front of DirName, to force the
requester to open at the same dir every time: #mydir
You can also give "" as the DirName. This will use the last dir
used by other ReqFile commands, or sys: in case no other ReqFiles
have been executed yet.
ALSO - you can give a filename with the dirname :
ReqFile -1 -1 300 200 "Choose" LOAD var #df0:mydir/myfile
In this case, the name of the file will be placed in the File
gadget of the requester. Gui4Cli will check if it's a file or
a dir and act correctly.
Also ReqFile will no longer be confused by quoted file names etc.
Also, ASL requesters (and EZreqs) will now open on the front
screen, if the window that called them is not open, or, if
the font screen is not public, on the workbench.
It's generally a little smarter than it used to be.
Unlike me..