The CreateFolder internal command is used to:
Command Arguments:
Argument |
Type |
Possible values |
Description |
---|---|---|---|
ARCHIVE |
/O |
(no value) |
Create a new archive file. The archive format will default to .zip but
can be changed via the dialog. |
|
|
<archive format> |
Create a new archive file of the specified
format. |
ARCHIVEARGS |
/K |
<archive arguments> |
Used to pass format-specific arguments when creating an archive. The
format these arguments take is defined by the plugin and archive type in
question - currently, none of the standard archive formats Opus supports
make use of this. |
ASK |
/S |
(no value) |
If you specify a name with the NAME argument the
Create Folder dialog does not normally display; instead the
folder is created immediately. You can add the ASK
argument to force the dialog to display, pre-populated with the
specified name. Example: CreateFolder "My New Folder" ASK If the specified name already exists before the prompt is displayed, it will have a number appended to it automatically so that is unique, similar to the way CreateFolder without any arguments will prompt to create New Folder and then New Folder (2), New Folder (3), and so on. |
COLLQUERY |
/S |
(no value) |
Creates a stored query collection rather than a regular file
collection. This only has effect when actually creating a collection
(because, for example, you are in the File Collections root folder at the
time). |
FROMCLIPBOARD |
/O |
(no value) |
Uses the text currently on the clipboard for the name of the new
folder. Equivalent to CreateFolder
"{clip}". |
|
|
multi |
Creates multiple folders from the clipboard contents, assuming the
clipboard contains multiple lines of CR/LF separated text. Without this
keyword only the first line would be used. |
INLINE |
/S |
(no value) |
Creates a new folder and lets you edit its name inline (in the file
display) - equivalent to selecting New -> Folder from the
context or File menu. |
NAME |
/M |
<folder name> ... |
Specify the name of the folder or archive to create. If this argument
is supplied Opus will not prompt for a name (unless ASK
is also specified). You can specify a full path, or just the folder name
to create the folder in the current source directory. You can also specify
multiple names to create more than one folder at once. |
NOSEL |
/S |
(no value) |
Normally when a folder is created in the currently displayed directory
it is selected, and the display scrolled if necessary to make it visible.
The NOSEL argument prevents
this. |
NOUPDATESETTINGS |
/S |
(no value) |
Prevents settings made by this command from becoming the new defaults.
For example, if you specify the READAUTO argument, the
value you provide will become the new default setting for the CreateFolder
command unless you also specify
NOUPDATESETTINGS. |
MULTI |
/O |
(no value) |
Ensures the Create Folder is in multiple-folder mode if it
opens. |
|
|
no |
Ensures the Create Folder dialog is in single-folder mode if
it opens. |
READAUTO |
/O |
(no value) |
Automatically read the newly created folder into the current source
file display. |
|
|
no |
Do not automatically read the newly created
folder. |
|
|
dual |
Read the newly created folder into the other file display. If the
Lister is not currently in dual-display mode it will be placed in this
mode first. You can combine this value with tab to
open a new tab in the other file display. |
|
|
left |
Read the newly created folder into the left (or top) file display,
regardless of which side is active. You can combine this value with
tab to open a new tab. |
|
|
right |
Read the newly created folder into the right (or bottom) file display,
regardless of which side is active. If the Lister is not currently in dual-display mode it will be
placed in this mode first. You can combine this value with
tab to open a new tab in the other file
display. |
|
|
tab |
Create a new tab for the newly created folder. The tab will be opened
in the source file display unless dual,
left, or right is also
specified. |
|
|
nofocus |
When opening a new tab, prevents that tab from being made
the active one. |
ZIP |
/S |
(no value) |
Create a new Zip file (equivalent to CreateFolder
ARCHIVE=.zip). |