Properties
The Properties internal command can be used to:
Display the system Properties dialog for files and folders
Display the Folder Options dialog for the current folder
Display the FTP Site Properties dialog for the currently connected FTP site
Display a drop-down menu of your favorite folder formats
Assign a label to selected files and folders
Set a selected image file as the system wallpaper image
Command Arguments:
Argument | Type | Possible values | Description |
---|---|---|---|
(no argument) | - | - | Display the system Properties dialog for selected files and folders. Example: |
ADDLABEL | /O | (no value) | In conjunction with the SETLABEL argument, this lets you add one or more labels without clearing any existing ones. Example: Can be combined with SETLABELTOGGLE to toggle a single label. Example: |
shift ctrl alt | If a keyword is specified, the labels will only be added if the specified key is held down when the function is run - otherwise the ADDLABEL argument will be ignored and they will replace existing labels as normal. Example: | ||
FILE | <filename> | Specifies the filename rather than using selected files. Wildcards are supported in the last path component. This is the default argument for the Properties command so you do not need to specify the FILE keyword. If the filename includes spaces make sure you enclose it in quotes. Example: | |
FOLDERFORMAT | /S | (no value) | Display the Folder Format dialog for the current folder. Example: |
FTPSITE | /S | (no value) | Display the FTP Site Properties dialog for the currently connected FTP site. If you are not currently viewing an FTP directory this command has no effect. Example: |
HEADING | /O | (no value) | When used with commands which generate a list of items (see dynamic buttons), the HEADING argument adds a small heading at the start of the list. The heading will be hidden when the list is empty. Headings only happen for commands which potentially generate multiple items at the same level as the button itself. When HEADING is used by itself, without specifying a text value, the main button's label text is used for the heading. Example: |
<heading text> | You can specify the heading text if you want it to be different to the button's label. Example: | ||
LABELCATEGORY | /K | <category> | When used on a command that generates a list of labels (e.g. The specified categories will also be used when resetting labels using the You can match uncategorized labels using the pattern ~* (which means "not anything"). Special handling exists for the two predefined categories, Status and Colors; these can be referenced using the English names prefixed with raw: and will work in any language. Example: |
LISTER | /S | (no value) | Displays the system Properties dialog for the folder currently displayed in the source file display. Example: |
NOFROMFOCUS | /S | (no value) | The default behaviour for the Properties command is to operate on either the source file display, or the Folder Tree, depending on which one has the input focus. This lets you use the same command to access the Properties dialog for folders in the tree as well as files and folders in the file display. Specify this argument to force the command to always operate on the source file display and ignore the folder tree. Example: |
POSITION | /K | <x,y> | Specify the position for the Properties dialog in screen coordinates. If no positioned specified, the dialog will open in a default position. Example: |
rel | Indicates the coordinates are relative to the Lister launching the Properties function. Example: | ||
center | Center the properties dialog over the Lister that launched it. Example: | ||
SETLABEL | /O | (no value) | Displays a generated list of your configured labels (acts as a dynamic button). Selecting a label from this list applies it to all selected files and folders. This command supports embedded functionswhen it's used to generate dynamic buttons. Example: |
<label>[,<label>,...] | Applies the specified label or labels to all selected files and folders. Multiple label names must be comma-separated. Commas and back-slashes in label names must be escaped with a back-slash. You can combine this with the ADDLABEL argument to add labels to existing ones rather than replacing them. You can further combine it with SETLABELTOGGLE to toggle labels on and off. The keyword stoponmatch can be used to add the "stop on match" flag to a file, which prevents any wildcard or label filters from applying to the file. Example: | ||
!menu | Places the generated label list inside a menu. Example: | ||
!submenu | Generates submenus for each label category. Example: | ||
!submenu2 | Generates submenus for each label category, and places labels without a category in an Uncategorized group. Example: | ||
!nogroup | Labels are grouped by category by default; specify !nogroup to ignore categories and generate a flat list of labels, sorted only by name, with labels from different categories intermingling. Example: | ||
!noreset | A Reset option is normally added after an automatically generated label list. You can prevent this by specifying !noreset. Example: | ||
!nostoponmatch | A Stop On Match option is normally added after an automatically generated list of labels, if Apply wildcard and filter labels to explicitly labelled files is selected on the Labels / Options Preferences page. You can prevent it being added by specifying !nostoponmatch. Example: The example above would give you top-level buttons, directly on the toolbar, to toggle each of the Status labels, with no extra buttons cluttering up the toolbar. | ||
!compact | Makes automatically generated label lists narrow and compact, where the button for each label only contains an icon or "Aa" label to show its effect. The full label names are not shown but can be revealed by hoving over each button. Intended for when you want a list of labels on a top-level toolbar without using much space. Example: | ||
!reset | Removes the label from all selected items. You can combine this with the LABELCATEGORY argument to only remove labels in certain categories. Example: Note that !reset does not affect automatically generated label lists; a Reset option is added to those automatically unless !noreset is specified. Rather, !reset creates a single button which will remove any labels on the selected files. | ||
SETLABELINFS | /K | yes | Specify in conjunction with the SETLABEL argument to override the state of the Enable label storage in the filesystem option on the Labels / Options Preferences page. Labels will be stored in the file system even if that option is disabled. Example: |
no | The labels will be stored in your Opus configuration. Example: | ||
SETLABELREMOVE | /O | (no value) | Specify in conjunction with the SETLABEL argument to remove labels. If the targeted file or folder already has the specified label, the label will be removed. Otherwise nothing will happen. (Only affects labels explicitly applied to individual folders and files. Labels picked up via wildcards and filters can be overridden by more explicit labels but cannot be toggled on individual items.) Example: |
shift ctrl alt | If specified, the SETLABELREMOVE argument will only apply if the specified key is held down when the function is run. Example: | ||
SETLABELTOGGLE | /O | (no value) | Specify in conjunction with the SETLABEL argument to toggle labels. If the targeted file or folder already has the specified label, the entire label will be cleared instead. (Only affects labels explicitly applied to individual folders and files. Labels picked up via wildcards and filters can be overridden by more explicit labels but cannot be toggled on individual items.) Example: Combine with ADDLABEL to toggle only a single label, while leaving any other labels the file has alone. Example: |
shift ctrl alt | If specified, the SETLABELTOGGLE argument will only apply if the specified key is held down when the function is run. If the key isn't held down, the label will only be turned on - it won't be toggled off again. Example: | ||
SETWALLPAPER | /O | (no value) | Sets the selected image file as the system wallpaper. Opus will make a copy of the selected image file (and convert its format if necessary) - you can change where the copy is stored with the setwallpaper_file option on the Miscellaneous / Advanced page in Preferences. Example: |
center | The wallpaper mode will be set to center the image on screen. Example: | ||
tile | The image will be tiled across the screen. Example: | ||
stretch | The image will be stretched (or shrunk) to fill the screen completely. Example: | ||
fit | The image will be cropped if necessary to fill the screen. The aspect ratio of the image will be preserved. This is only available on Windows 7 and above. Example: | ||
fill | The image will be stretched or shrunk to fill screen, but the aspect ratio will be preserved - and so black bars may be displayed on the sides or top and bottom of the image. This is only available on Windows 7 and above. Example: | ||
span | The image will be spanned across a multiple monitor desktop. This is only available on Windows 8 and above. Example: | ||
menu | Displays a drop-down menu of the various wallpaper modes (acts as a dynamic button). Selecting a mode from this menu sets the selected image file as the wallpaper using that mode. This is useful when added to the context menu for the Images file type group. Example: | ||
SINGLE | /S | (no value) | Modifies the behaviour of the Properties command when more than one file or folder is selected. By default a combined Properties dialog is shown for all selected items, but if SINGLE is specified an individual Properties dialog is shown for each item. Example: |
最后更新于