Directory Opus
GitHub用户脚本Telegram 群
  • 主页
  • 文件浏览
    • 文件窗口
      • 默认窗口
      • 工具栏
        • 收藏栏
    • 多文件夹
      • 单窗口模式
      • 标签页
      • 双栏
      • 来源和目标
    • 查看
      • 列表
        • 列
        • 排序
        • 分组
        • 视图
          • 详细视图
          • 缩略图
          • 平面视图
        • 标记
        • 选择
          • 复选框
        • 即时查找
      • 信息提示
      • 查看器
      • 文件夹格式
    • 导航
      • 地址栏
      • 文件夹树
      • 收藏夹
      • 别名
    • 文件对话框
    • 终端
  • 文件搜索
  • 文件操作
    • 文件创建
    • 文件移动
    • 文件复制
    • 重命名
    • 剪贴板
    • 上下文菜单
    • 拖放
    • 安全
  • 文件类型
    • 元数据
    • 压缩包
    • 图片
      • ICO
      • SVG
    • 文档
      • 纯文本
      • 代码
      • Markdown
      • Word 文档
      • PDF
      • 网页
    • 表格
      • Excel 表格
      • 数据库
    • 幻灯片
    • 模型
    • 种子
    • 邮件
  • Directory Opus
    • 配置
      • 主题
    • 命令
      • 命令
      • 外部控制码
      • 修饰符
      • 内置命令
    • 脚本
      • 变量
    • 更新日志
  • 官方手册
    • 目录
    • 版权
    • 许可证
      • 最终用户许可条件
      • 批量许可条件
    • 致谢
    • 简介
    • 基本概念
      • 启动 Opus
      • 文件窗口
        • 打开文件窗口
        • 默认文件窗口
        • 导航
          • 主文件夹
          • 上、前进、后退
          • 文件树
          • 地址栏
            • 路径字段
          • 驱动按钮和下拉菜单
          • 收藏夹
          • 智能收藏夹
          • 最近和历史列表
          • 别名
          • 成对文件夹
        • 标签
          • 标签切换器
          • 锁定标签页
          • 关联标签页
          • 标签组
        • 视图模式
        • 双栏
          • 导航锁定
        • 工具栏
          • 默认工具栏
            • 菜单工具栏
            • 操作工具栏
            • 收藏栏
            • 文件列表工具栏
            • “图像”工具栏
          • 动态工具栏
          • 工具栏集
        • 即时查找字段
        • 查看器窗格
        • 元数据窗格
        • 实用程序面板
        • 布局
        • 样式
        • 主题
          • 创建自己的主题
        • 状态栏
      • 资源管理器替换模式
      • 源目录和目标目录
      • 选择文件
        • 使用鼠标和键盘进行选择
          • 单击模式
          • 复选框模式
        • 简单通配符选择
        • 高级选择
        • 选择单元格
      • 搜索和过滤
        • 过滤栏
        • 显示所有内容
        • 工具栏过滤项
        • 快速搜索
        • 查找文件
          • 简易查找
          • 高级查找
      • 排序和分组
        • 手动排序
      • 文件夹格式
        • 文件夹格式对话框
          • 列
            • 冻结列
          • 排序
          • 分组
          • 显示
          • 过滤器
        • 已保存文件夹格式
        • 自动记住格式
        • 内容类型
        • 确定当前格式
        • 锁定格式
      • 可展开文件夹
      • 平面视图
      • 文件夹大小
      • 虚拟文件系统
        • 系统虚拟文件夹
        • 文件集合
          • 存储的查询
        • 库
        • 压缩包
        • FTP
        • MTP
    • 文件操作
      • 复制、移动和删除文件
        • 复制和粘贴
        • 拖放
        • 使用工具栏按钮进行复制
          • 复制时使用通配符
        • 复制队列
          • 复制覆盖和幽灵文件
          • 无人值守操作
        • 作业栏
        • 确认文件替换对话框
        • 复制已更新文件
          • 同步
        • Deleting Files
          • 安全删除
      • 重命名文件
        • 内联重命名
        • 简单通配符重命名
        • 高级重命名
          • 重命名预设
          • 重命名模式
            • 标准通配符重命名
            • 查找和替换
            • 正则表达式
            • 正则表达式 + 查找并替换
          • 重命名操作
            • 文件编号
            • 重命名宏
          • 重命名选项
          • 使用元数据重命名
          • 重命名脚本
      • 创建文件夹
      • 创建压缩包
        • 添加到压缩包文件
        • 添加到压缩包对话框
          • Zip 选项
          • 7z 选项
          • RAR 选项
          • TAR BZip2 选项
          • TAR GZip 选项
        • Zip 文件
          • Zip 注释
          • 只读模式
          • 自解压 Zip 文件
      • 跟踪和撤销文件操作
      • 更改属性
      • 标记和状态图标
      • 编辑元数据
        • 文档属性
        • 图片属性
        • 音乐属性
          • 添加封套插图
        • 视频属性
        • 扩展属性
        • 元数据的编程设置
        • 时间偏移
      • 文件说明
      • 过滤操作
        • 过滤条款
        • 添加、删除和编辑子句
        • 过滤条款类型
        • 文本过滤器
      • UAC 和管理员模式
    • FTP
      • FTP 地址簿
        • 默认设置
        • 站点页
        • 网络页面
        • Display Page
        • 索引页面
        • 声音页面
        • 杂项页面
        • 速度页面
        • 特殊页面
        • 转账页面
        • 代理页面
      • 添加新站点
      • FTP 连接
      • 站点属性
      • FTP 日志
      • FTP 路径
    • 附加功能
      • 查看图像
        • 查看器鼠标、键和工具栏
        • 图像标记
        • 文件窗口关联查看器
      • 播放声音
      • 图像转换
        • 自动化图像转换任务
      • 打印文件夹
      • 重复文件查找器
      • 拆分文件
      • 拼接文件
      • 制作链接和连接点
      • 浮动工具栏
        • 控制浮动工具栏
      • 系统级热键
      • 导出到 USB
      • 与 Everything 集成
      • 擦除所有空白
      • 文件类型概览
      • 更新检查器
      • CLI
      • 崩溃日志
    • 配置
      • 备份和恢复配置
      • 配置类别
        • 色彩和字体
          • 暗黑模式
          • 主题
          • 颜色混合
          • Directory Opus 颜色
          • Windows 颜色
          • 图像
          • 字体
        • 文件列表
          • 文件夹展开
          • 鼠标
            • 背景事件
          • 导航
          • 选项
            • 信息提示
            • Tab键
          • 状态栏
          • 标题栏
        • 文件列表列
          • 外观
          • 求值器列
          • 求值器分组
          • 文件名
          • 图标
          • 选项
          • Shell 属性
        • 文件列表模式
          • 详细信息
          • 增强模式
            • 外观
            • 按钮
          • 缩略图
            • 文件夹
            • 性能
            • 样式
          • 平铺模式
        • 文件操作
          • 文件复制
            • 属性
            • 确认
            • 元数据
            • 安全
          • 删除文件
          • 双击文件
            • FTP
          • 日志记录
          • 元数据
            • 元数据编辑器
            • 音乐类型
          • 选项
          • 进度指示器
            • 统计文件
            • 作业栏
          • 重命名文件
            • 控制键
        • 过滤和排序
          • 过滤
          • 过滤栏
          • 即时查找
            • 过滤模式
            • 查找模式
            • 文件夹模式
          • 全局过滤器
          • 快速键
          • 排序
        • 文件夹
          • 自动读取
          • 文件夹格式
            • 自动格式
          • 文件夹图像
          • 文件夹大小
            • 交接点和链接
          • 网络服务器
          • 特殊文件夹
          • 虚拟文件夹
            • 桌面
            • 文件系统
            • 此电脑
        • 文件夹标签页
          • 尺寸
          • 边缘颜色
          • 文件夹标签栏
          • 分组
          • 锁定
          • 选项
        • 文件夹树
          • 外观
          • 内容
          • 展开/折叠
            • 图钉
          • 选项
          • 选择事件
        • 常用路径
          • 收藏夹列表
          • 文件夹别名
          • 主文件夹
          • 配对文件夹
          • 最近列表
          • 智能收藏夹
        • Internet
          • 电子邮件
          • 更新
        • 标记
          • 标记 定义
          • 标记分配
            • 在特定文件夹中
          • 选项
        • 启动 Opus
          • 资源管理器替换
          • 来自桌面
          • 任务栏图标
          • 来自 Win + E 热键
          • 启动
        • 布局和样式
          • 默认文件窗口
          • 布局
          • 样式
        • 地址栏
          • 选项
          • 路径字段
            • 外观
            • 菜单
            • 路径补全
          • 工具栏
        • 其它
          • 高级选项
          • 外部工具
          • 隐私
          • Shell 扩展
          • 声音
          • Windows 集成
            • 跳跃列表
          • Windows 启动延迟
        • 工具栏
          • 外观
          • 文件夹工具栏
          • 图标
          • 选项
          • 工具栏组
          • 视图工具条
        • 用户界面
          • 语言
          • Spacing
          • 过渡动画
        • 查看器
          • 独立查看器
            • Options
            • 尺寸和位置
            • 鼠标按钮
            • 已标记图片
            • 幻灯片放映
          • 查看器窗格
          • 查看器插件
        • Zip 和其它压缩包文件
          • 压缩包与 VFS 插件
          • 压缩包选项
          • 上下文菜单
          • Zip 文件
    • 自定义
      • 自定义对话框
        • 工具栏
        • 上下文菜单
        • 按键
        • 命令
        • User Commands
        • 默认工具栏
      • 创建您自己的按钮
        • Editing the Toolbar
          • 启动选项
          • 工具栏上下文菜单
          • 多功能按钮
          • 下拉按钮和菜单
          • 动态按钮
            • 驱动器按钮配置
          • Field Buttons
            • 路径字段配置
            • 过滤器字段配置
            • 驱动器下拉配置
          • 与他人分享功能
        • 命令编辑器
          • 简单命令编辑器
          • 高级命令编辑器
          • 使用热键控件
        • 用户自定义命令
        • 同步和异步函数
        • 内部命令参数
        • 将文件传递到外部程序
        • 命令修饰符
        • MS-DOS 批处理命令
        • WSL 命令
        • 嵌入重命名脚本
        • DDE 函数
        • 嵌入式功能
    • 文件类型
      • Directory Opus 文件类型
      • 文件类型组
      • 文件类型编辑器
        • Actions
        • 事件
        • 上下文菜单
        • 下拉菜单
        • 替换菜单
        • Info Tip
        • 平铺模式
    • 脚本
      • 重命名脚本
        • Custom Fields in the Rename Dialog
      • 脚本函数
      • 脚本加载项
        • 包括文件
        • 模块
        • 脚本包
        • 脚本安装器文件
      • Script Management
        • 创​​建新脚本
        • 脚本安装器
      • 脚本编辑器
        • 脚本资产**
        • 编辑器
          • 代码编辑器
          • 对话框编辑器
            • 对话框编辑器命令
            • Adding Dialog Controls
            • 尺寸和定位对话框控件
            • 使用布局命令
            • 对话框控件制表顺序
            • 对话框控制助记符
            • 语言覆盖
            • 对话框控件属性
              • 常见对话框属性
              • 对话框属性 若要编辑对话框的属性,请在任意控件外部单击对话框。适用于对话框的具体属性是:
              • 静态文本属性
              • 标记文本属性
              • 编辑控件属性
              • 按钮属性
              • 复选框属性
              • 单选按钮属性
              • 组合框属性
              • 列表框属性
              • 列表视图属性
              • 标签页控件属性
              • 组框属性
              • Palette Properties
          • 字符串编辑器
        • 片段
      • 脚本对话框
        • 创建脚本对话框
        • 对话消息循环
          • 简单对话框
          • 分离对话框
        • 读取对话框控件值
        • 与对话框控件交互
      • 资源
        • 字符串资源
      • 脚本日志
      • 示例脚本
        • 示例重命名脚本
        • 简单脚本函数
        • 添加新内部命令
        • 添加新列
        • 使用 Shell 属性添加新列
        • 拓展即时查找领域
        • 简单对话框和弹出菜单
        • 脚本对话框示例
        • 响应事件
    • 求值器
      • 求值器语法
      • 求值器变量
      • Applicable Contexts
        • 求值器列
        • 求值员组
        • 过滤器和查找
        • 文件信息提示和平铺
        • 按钮和功能
          • 求值器按钮标签
          • Colors
          • 求值器按钮图标
          • Tooltips
          • Dynamic State
          • Conditional Behavior
          • 函数中的求值子句
          • 求值插入代码
          • 求值器生成的命令行
        • 重命名
        • Generated File Names
        • 重命名控制键
        • 状态栏
        • 列上下文菜单
        • 标签上下文菜单
      • Examples
    • 参考
      • 通配符参考
        • 模式匹配语法
        • 正则表达式语法
      • 状态栏代码
        • 文件和文件夹计数代码
        • 磁盘空间代码
        • 音乐和视频时长代码
        • 图形元素代码
        • 其它代码
        • 条形图和百分比
        • 隐藏状态栏中的部分内容
        • 状态栏上的填充部分
      • 命令参考
        • 参数类型
        • 内部命令
          • CLI
          • Clipboard
          • Close
          • ContextMenu
          • Copy
          • CreateFolder
          • Delete
          • Favorites
          • FileType
          • Find
          • GetSizes
          • Go
          • Help
          • Image
          • Join
          • Marker
          • Play
          • Prefs
          • Print
          • Properties
          • Recent
          • Rename
          • Select
          • Set
          • SetAttr
          • Show
          • Split
          • Toolbar
          • Undo
        • 外部控制代码
          • 用于传递文件名代码
          • 有关路径的代码
          • 对话框显示代码
          • 日期和时间的代码
          • Codes for clipboard and variables
        • 命令修饰符参考
      • 脚本参考
        • 脚本对象
          • AboutData
          • ActivateListerData
          • ActivateTabData
          • AddCmdData
          • AddColData
          • AfterFolderChangeData
          • Alias
          • Aliases
          • Args
          • AudioCoverArt
          • AudioMeta
          • BeforeFolderChangeData
          • Blob
          • BusyIndicator
          • ClickData
          • ClipboardChangeData
          • CloseListerData
          • CloseTabData
          • Column
          • ColumnValue
          • Command
          • ConfigBackupData
          • ConfigRestoreData
          • Control
          • CustomFieldData
          • Date
          • Dialog
          • DialogListColumn
          • DialogListColumns
          • DialogListGroup
          • DialogListItem
          • DialogOption
          • DisplayModeChangeData
          • Dock
          • DocMeta
          • DOpus
          • DOpusFactory
          • DoubleClickData
          • DPI
          • Drive
          • ExeMeta
          • EverythingInterface
          • EverythingResult
          • Favorite
          • Favorites
          • File
          • FileAttr
          • FileGroup
          • FileOperationCompleteData
          • FileSize
          • FilesystemChangeData
          • FiletypeGroup
          • FiletypeGroups
          • Filter
          • FilterParseError
          • FlatViewChangeData
          • FolderEnum
          • FontMeta
          • Format
          • FSUtil
          • Func
          • GlobalFilters
          • GetCopyQueueNameData
          • GetCustomFieldData
          • GetNewNameData
          • HighlightedColumns
          • HTTPRequest
          • Image
          • ImageMeta
          • IncludeFileInitData
          • Item
          • Items
          • Lister
          • Listers
          • ListerResizeData
          • ListerUIChangeData
          • Map
          • Metadata
          • Msg
          • OpenListerData
          • OpenTabData
          • OrderedMap
          • OtherMeta
          • PairedFolder
          • Path
          • Progress
          • QuickFilter
          • Rect
          • Results
          • Script
          • ScriptColorPair
          • ScriptColumn
          • ScriptColumnData
          • ScriptCommand
          • ScriptCommandData
          • ScriptFAYTCommand
          • ScriptFAYTCommandData
          • ScriptConfig
          • ScriptConfigChangeData
          • ScriptInitData
          • ScriptStrings
          • ShellProperty
          • ShutdownData
          • Signature
          • SmartFavorite
          • SmartFavorites
          • SortOrder
          • SourceDestData
          • StartupData
          • StringSet
          • StringTools
          • StyleSelectedData
          • SysInfo
          • SystemSettingChangeData
          • Tab
          • TabClickData
          • TabGroup
          • TabGroups
          • TabGroupTabEntry
          • TabGroupTabList
          • TabStats
          • Toolbar
          • Toolbars
          • UnorderedSet
          • Var
          • Vars
          • Vector
          • Version
          • VideoMeta
          • Viewer
          • Viewers
          • ViewerEventData
          • Wild
          • WinVer
        • 脚本事件
          • OnAboutScript
          • OnActivateLister
          • OnActivateTab
          • OnAddColumns
          • OnAddCommands
          • OnAfterFolderChange
          • OnBeforeFolderChange
          • OnClick
          • OnClipboardChange
          • OnCloseLister
          • OnCloseTab
          • OnConfigBackup
          • OnConfigRestore
          • OnDisplayModeChange
          • OnDoubleClick
          • OnFilesystemChange
          • OnFileOperationComplete
          • OnFlatViewChange
          • OnGetCopyQueueName
          • OnGetCustomFields
          • OnGetNewName
          • OnInit
          • OnInitIncludeFile
          • OnListerResize
          • OnListerUIChange
          • OnOpenLister
          • OnOpenTab
          • OnScriptColumn
          • OnScriptCommand
          • OnScriptConfigChange
          • OnScriptFAYTCommand
          • OnShutdown
          • OnSourceDestChange
          • OnStartup
          • OnStyleSelected
          • OnSystemSettingChange
          • OnTabClick
          • OnViewerEvent
      • 求值器函数
        • AbortFunc
        • Abs
        • Age
        • Arg
        • As
        • Asc
        • Atan
        • Capitalize
        • Cbrt
        • Ceil
        • Chr
        • Cos
        • Clip
        • ClipFormat
        • Count
        • DateDiff
        • DatePart
        • DegToRad
        • DisplayName
        • Elapsed
        • Exists
        • FileCount
        • FileExt
        • FilePart
        • Floor
        • Format
        • Hypot
        • InStr
        • IsAlpha
        • IsChecked
        • IsDigit
        • IsDir
        • IsEnabled
        • IsFile
        • IsLower
        • IsParent
        • IsPath
        • IsPunct
        • IsSelected
        • IsSet
        • IsSpace
        • IsUpper
        • KeyDown
        • LanguageStr
        • LCase
        • Left
        • Len
        • MakeLegal
        • Match
        • Max
        • Mid
        • Min
        • Now
        • Output
        • Parent
        • PathType
        • Pow
        • RadToDeg
        • RegEx
        • RegExS
        • Replace
        • Resolve
        • Reverse
        • Right
        • Root
        • Rnd
        • Round
        • Running
        • Select
        • Sin
        • Space
        • Stem
        • StrCmp
        • String
        • Sqrt
        • Swap
        • SysInfo
        • Tan
        • Trim
        • Truncate
        • TypeOf
        • UCase
        • URLEncode
        • Val
      • DOpusRT 参考手册
        • 文件集合外部操作
        • 检索文件和文件夹信息
      • 元数据关键字
        • 列关键字
        • SetAttr META 的关键字
      • 文本过滤器
      • 图标集
        • 图标集 XML 定义文件
        • 图标大小
        • 图标名称
        • 图标显示名称
        • 图标类别
        • DPI aware Icon Sets
        • 本地化
        • 图标图像
      • 重命名宏语言
    • Directory Opus 13 的新功能有哪些?
      • Directory Opus 13 - 亮点
        • Highlights Page 1
        • Highlights Page 2
        • Highlights Page 3
        • Highlights Page 4
        • Highlights Page 5
        • Highlights Page 6
      • Directory Opus 13 - 详细变更列表
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 发布说明详情
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发布说明
        • Directory Opus 13 - 发行说明详细
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
        • Directory Opus 13 - 详细的发行说明
        • Directory Opus 13 - 详细发行说明
        • Directory Opus 13 - 详细版本说明
      • Directory Opus 13 - 从 Opus 12 升级的提示
  • Manual
    • Copyrights
    • Licenses
      • End-user License Conditions
      • Volume License Conditions
    • Acknowledgements
    • Introduction
    • Basic Concepts
      • Starting Opus
      • The Lister
        • Opening a Lister
        • The Default Lister
        • Navigation
          • Home Folder
          • Up, Forward, Back
          • Folder Tree
          • Location Bar
            • Path Field
          • Drive Buttons and Dropdowns
          • Favorites
          • SmartFavorites
          • Recent and History Lists
          • Aliases
          • Paired Folders
        • Tabs
          • Tab Switcher
          • Locked Tabs
          • Linked Tabs
          • Tab Groups
        • View Modes
        • Dual Display
          • Navigation Lock
        • Toolbars
          • The Default Toolbars
            • Menu Toolbar
            • Operations Toolbar
            • Favorites Bar
            • File Display Toolbar
            • Images Toolbar
          • Dynamic Toolbars
          • Toolbar Sets
        • Find-as-you-type Field
        • Viewer Pane
        • Metadata Pane
        • Utility Panel
        • Layouts
        • Styles
        • Themes
          • Creating your own Themes
        • Status Bar
      • Explorer Replacement
      • Source and Destination
      • Selecting Files
        • Selecting with the mouse and keyboard
          • Single-click mode
          • Checkbox Mode
        • Simple Wildcard Selection
        • Advanced Selection
        • Selecting Cells
      • Searching and Filtering
        • Filter Bar
        • Show Everything
        • Toolbar Filter Fields
        • Quick Search
        • Find Files
          • Simple Find
          • Advanced Find
      • Sorting and Grouping
        • Manual Sorting
      • Folder Format
        • Folder Format Dialog
          • Columns
            • Frozen Columns
          • Sorting
          • Grouping
          • Display
          • Filters
        • Saved Folder Formats
        • Auto-remembered Formats
        • Content Types
        • Identifying the current format
        • Locking the Format
      • Expandable Folders
      • Flat View
      • Folder Sizes
      • Virtual File System
        • System virtual folders
        • File Collections
          • Stored Queries
        • Libraries
        • Archives
        • FTP
        • MTP
    • File Operations
      • Copying, Moving and Deleting Files
        • Copy and Paste
        • Drag and drop
        • Copying using the toolbar buttons
          • Using Wildcards when Copying
        • Copy Queues
          • Copy Overlays and Ghost Files
          • Unattended operation
        • The Jobs Bar
        • The Confirm File Replace Dialog
        • Copying Updated Files
          • Synchronize
        • Deleting Files
      • Renaming Files
        • Inline Rename
        • Simple Wildcard Rename
        • Advanced Rename
          • Rename Presets
          • Rename Modes
            • Standard Wildcard Rename
            • Find and Replace
            • Regular Expressions
            • Regular Expressions + Find and Replace
          • Rename Actions
            • Numbering Files
            • Rename Macros
          • Rename Options
          • Renaming with Metadata
          • Rename Scripts
      • Creating Folders
      • Creating Archives
        • Adding to Archives
        • Add to Archive Dialog
          • Zip Options
          • 7z Options
          • RAR Options
          • TAR BZip2 Options
          • TAR GZip Options
        • Zip Files
          • Zip Comment
          • Read-Only mode
          • Self-Extracting Zip Files
      • Tracking and Undoing File Operations
      • Changing Attributes
      • Labels and Status Icons
      • Editing Metadata
        • Document Properties
        • Picture Properties
        • Music Properties
          • Adding Cover Art
        • Video Properties
        • Extended Properties
        • Programmatic setting of Metadata
        • Time Shifting
      • File Descriptions
      • Filtered Operations
        • Filter Clauses
        • Adding, Removing and Editing Clauses
        • Filter Clause Types
        • Textual Filters
      • UAC and Administrator Mode
    • FTP
      • FTP Address Book
        • Default Settings
        • Site Page
        • Network Page
        • Display Page
        • Index Page
        • Sounds Page
        • Misc Page
        • Speed Page
        • Special Page
        • Transfer Page
        • Proxy Page
      • Adding a new Site
      • FTP Connect
      • Site Properties
      • FTP Log
      • FTP Paths
    • Additional Functionality
      • Viewing Images
        • Viewer Mouse, Keys and Toolbar
        • Image Marking
        • Lister-Linked Viewers
      • Playing Sounds
      • Image Conversion
        • Automated image conversion tasks
      • Print Folder
      • Duplicate File Finder
      • Splitting Files
      • Joining Files
      • Making Links and Junctions
      • Floating Toolbars
        • Controlling Floating Toolbars
      • System-wide Hotkeys
      • Exporting to USB
      • Integration with Everything
      • Erase Empty Space
      • File Type Summary
      • Update Checker
      • CLI
      • Crash Logs
    • Preferences
      • Backing up and Restoring Preferences
      • Preferences Categories
        • Colors And Fonts
          • Dark Mode
          • Themes
          • Color Blending
          • Directory Opus Colors
          • Windows Colors
          • Images
          • Fonts
        • File Displays
          • Folder Expansion
          • Mouse
            • Background Events
          • Navigation
          • Options
            • Info Tips
            • Tab Key
          • Status Bar
          • Title Bar
        • File Display Columns
          • Appearance
          • Evaluator Columns
          • Evaluator Groups
          • Filenames
          • Icons
          • Options
          • Shell Properties
        • File Display Modes
          • Details
          • Power Mode
            • Appearance
            • Buttons
          • Thumbnails
            • Folders
            • Performance
            • Styles
          • Tiles Mode
        • File Operations
          • Copying Files
            • Attributes
            • Confirmation
            • Metadata
            • Security
          • Deleting Files
          • Double-click Files
            • FTP
          • Logging
          • Metadata
            • Metadata Editor
            • Music Genres
          • Options
          • Progress Indicators
            • Counting Files
            • Jobs Bar
          • Renaming Files
            • Control Keys
        • Filtering And Sorting
          • Filters
          • Filter Bar
          • Find-As-You-Type
            • Filter Mode
            • Find Mode
            • Folders Mode
          • Global Filters
          • Quick Keys
          • Sorting
        • Folders
          • Automatic Reading
          • Folder Formats
            • Automatic Formats
          • Folder Images
          • Folder Sizes
            • Junctions And Links
          • Network Servers
          • Special Folders
          • Virtual Folders
            • Desktop
            • File System
            • This PC
        • Folder Tabs
          • Dimensions
          • Edge Colors
          • Folder Tab Bar
          • Groups
          • Locking
          • Options
        • Folder Tree
          • Appearance
          • Contents
          • Expand / Collapse
            • Pins
          • Options
          • Selection Events
        • Frequently Used Paths
          • Favorites List
          • Folder Aliases
          • Home Folder
          • Paired Folders
          • Recent List
          • SmartFavorites
        • Internet
          • Email
          • Updates
        • Labels
          • Label Definitions
          • Label Assignments
            • In Specific Folders
          • Options
        • Launching Opus
          • Explorer Replacement
          • From the Desktop
          • From the Taskbar Icon
          • From the Win + E hotkey
          • Startup
        • Layouts and Styles
          • Default Lister
          • Layouts
          • Styles
        • Location Bar
          • Options
          • Path Fields
            • Appearance
            • Menus
            • Path Completion
          • Toolbars
        • Miscellaneous
          • Advanced
          • External Tools
          • Privacy
          • Shell Extensions
          • Sounds
          • Windows Integration
            • Jump List
          • Windows Startup Delay
        • Toolbars
          • Appearance
          • Folder Toolbars
          • Icons
          • Options
          • Sets
          • View Mode Toolbars
        • User Interface
          • Language
          • Spacing
          • Transition Animations
        • Viewer
          • Standalone Viewer
            • Options
            • Size And Position
            • Mouse Buttons
            • Marked Pictures
            • Slideshow
          • Viewer Pane
          • Viewer Plugins
        • Zip and Other Archives
          • Archive and VFS Plugins
          • Archive Options
          • Context Menu
          • Zip Files
    • Customize
      • The Customize Dialog
        • Toolbars
        • Context Menus
        • Keys
        • Commands
        • User Commands
        • Default Toolbars
      • Creating your own buttons
        • Editing the Toolbar
          • Launch Options
          • Toolbar Context Menus
          • Multiple Function Buttons
          • Drop-down Buttons and Menus
          • Dynamic Buttons
            • Drive Buttons Configuration
          • Field Buttons
            • Path Field Configuration
            • Filter Field Configuration
            • Drives Dropdown Configuration
          • Sharing functions with others
        • Command Editor
          • Simple Command Editor
          • Advanced Command Editor
          • Using the Hotkey Control
        • User-defined commands
        • Synchronous and Asynchronous functions
        • Internal Command Arguments
        • Passing files to external programs
        • Command modifiers
        • MS-DOS Batch commands
        • WSL Commands
        • Embedding Rename Scripts
        • DDE Functions
        • Embedded functions
    • File Types
      • Directory Opus File Types
      • File Type Groups
      • Filetype Editor
        • Actions
        • Events
        • Context Menu
        • Drop Menu
        • Replace Menu
        • Info Tip
        • Tiles Mode
    • Scripting
      • Rename Scripts
        • Custom Fields in the Rename Dialog
      • Script Functions
      • Script Add-ins
        • Include Files
        • Modules
        • Script Package
        • Script Installer Files
      • Script Management
        • Create New Script
        • Script Installer
      • Script Editor
        • Script Assets
        • Editors
          • Code Editor
          • Dialog Editor
            • Dialog Editor Commands
            • Adding Dialog Controls
            • Sizing and Positioning Dialog Controls
            • Using the Layout Commands
            • Dialog Control Tab Order
            • Dialog Control Mnemonics
            • Language Overlays
            • Dialog Control Properties
              • Common Dialog Properties
              • Dialog Properties
              • Static Text Properties
              • Markup Text Properties
              • Edit Control Properties
              • Button Properties
              • Check Box Properties
              • Radio Button Properties
              • Combo Box Properties
              • List Box Properties
              • List View Properties
              • Tab Control Properties
              • Group Box Properties
              • Palette Properties
          • String Editor
        • Snippets
      • Script Dialogs
        • Creating Script Dialogs
        • The Dialog Message Loop
          • Simple Dialogs
          • Detached Dialogs
        • Reading Dialog Control Values
        • Interacting with Dialog Controls
      • Resources
        • String Resources
      • Script Log
      • Example Scripts
        • Example Rename Script
        • Simple Script Function
        • Adding a new Internal Command
        • Adding a new Column
        • Adding a new Column from Shell Properties
        • Extending the FAYT Field
        • Simple Dialogs and Popup Menus
        • Script Dialog Example
        • Responding to Events
    • Evaluator
      • Grammar
      • Variables
      • Applicable Contexts
        • Evaluator Columns
        • Evaluator Groups
        • Filters and Find
        • Info Tips and Tiles
        • Buttons and Functions
          • Labels
          • Colors
          • Icons
          • Tooltips
          • Dynamic State
          • Conditional Behavior
          • Evaluation Clauses
          • Insertion Code
          • Command Lines
        • Rename
        • Generated File Names
        • Rename Control Keys
        • Status Bar
        • Column Context Menus
        • Tab Context Menus
      • Examples
    • Reference
      • Wildcard Reference
        • Pattern Matching Syntax
        • Regular Expression Syntax
      • Status Bar Codes
        • Codes for file and folder counts
        • Codes for disk space
        • Codes for music and video duration
        • Codes for graphical elements
        • Other Codes
        • Bar graphs and Percentages
        • Hiding sections on the status bar
        • Padding sections on the status bar
      • Command Reference
        • Argument Types
        • Internal Commands
          • CLI
          • Clipboard
          • Close
          • ContextMenu
          • Copy
          • CreateFolder
          • Delete
          • Favorites
          • FileType
          • Find
          • GetSizes
          • Go
          • Help
          • Image
          • Join
          • Marker
          • Play
          • Prefs
          • Print
          • Properties
          • Recent
          • Rename
          • Select
          • Set
          • SetAttr
          • Show
          • Split
          • Toolbar
          • Undo
        • External control codes
          • Codes for passing filenames
          • Codes for passing paths
          • Codes to display dialogs
          • Codes for date and time
          • Codes for clipboard and variables
        • Command modifier reference
      • Scripting Reference
        • Scripting Objects
          • AboutData
          • ActivateListerData
          • ActivateTabData
          • AddCmdData
          • AddColData
          • AfterFolderChangeData
          • Alias
          • Aliases
          • Args
          • AudioCoverArt
          • AudioMeta
          • BeforeFolderChangeData
          • Blob
          • BusyIndicator
          • ClickData
          • ClipboardChangeData
          • CloseListerData
          • CloseTabData
          • Column
          • ColumnValue
          • Command
          • ConfigBackupData
          • ConfigRestoreData
          • Control
          • CustomFieldData
          • Date
          • Dialog
          • DialogListColumn
          • DialogListColumns
          • DialogListGroup
          • DialogListItem
          • DialogOption
          • DisplayModeChangeData
          • Dock
          • DocMeta
          • DOpus
          • DOpusFactory
          • DoubleClickData
          • DPI
          • Drive
          • ExeMeta
          • EverythingInterface
          • EverythingResult
          • Favorite
          • Favorites
          • File
          • FileAttr
          • FileGroup
          • FileOperationCompleteData
          • FileSize
          • FilesystemChangeData
          • FiletypeGroup
          • FiletypeGroups
          • Filter
          • FilterParseError
          • FlatViewChangeData
          • FolderEnum
          • FontMeta
          • Format
          • FSUtil
          • Func
          • GlobalFilters
          • GetCopyQueueNameData
          • GetCustomFieldData
          • GetNewNameData
          • HighlightedColumns
          • HTTPRequest
          • Image
          • ImageMeta
          • IncludeFileInitData
          • Item
          • Items
          • Lister
          • Listers
          • ListerResizeData
          • ListerUIChangeData
          • Map
          • Metadata
          • Msg
          • OpenListerData
          • OpenTabData
          • OrderedMap
          • OtherMeta
          • PairedFolder
          • Path
          • Progress
          • QuickFilter
          • Rect
          • Results
          • Script
          • ScriptColorPair
          • ScriptColumn
          • ScriptColumnData
          • ScriptCommand
          • ScriptCommandData
          • ScriptFAYTCommand
          • ScriptFAYTCommandData
          • ScriptConfig
          • ScriptConfigChangeData
          • ScriptInitData
          • ScriptStrings
          • ShellProperty
          • ShutdownData
          • Signature
          • SmartFavorite
          • SmartFavorites
          • SortOrder
          • SourceDestData
          • StartupData
          • StringSet
          • StringTools
          • StyleSelectedData
          • SysInfo
          • SystemSettingChangeData
          • Tab
          • TabClickData
          • TabGroup
          • TabGroups
          • TabGroupTabEntry
          • TabGroupTabList
          • TabStats
          • Toolbar
          • Toolbars
          • UnorderedSet
          • Var
          • Vars
          • Vector
          • Version
          • VideoMeta
          • Viewer
          • Viewers
          • ViewerEventData
          • Wild
          • WinVer
        • Scripting Events
          • OnAboutScript
          • OnActivateLister
          • OnActivateTab
          • OnAddColumns
          • OnAddCommands
          • OnAfterFolderChange
          • OnBeforeFolderChange
          • OnClick
          • OnClipboardChange
          • OnCloseLister
          • OnCloseTab
          • OnConfigBackup
          • OnConfigRestore
          • OnDisplayModeChange
          • OnDoubleClick
          • OnFilesystemChange
          • OnFileOperationComplete
          • OnFlatViewChange
          • OnGetCopyQueueName
          • OnGetCustomFields
          • OnGetNewName
          • OnInit
          • OnInitIncludeFile
          • OnListerResize
          • OnListerUIChange
          • OnOpenLister
          • OnOpenTab
          • OnScriptColumn
          • OnScriptCommand
          • OnScriptConfigChange
          • OnScriptFAYTCommand
          • OnShutdown
          • OnSourceDestChange
          • OnStartup
          • OnStyleSelected
          • OnSystemSettingChange
          • OnTabClick
          • OnViewerEvent
      • Evaluator Functions
        • AbortFunc
        • Abs
        • Age
        • Arg
        • As
        • Asc
        • Atan
        • Capitalize
        • Cbrt
        • Ceil
        • Chr
        • Cos
        • Clip
        • ClipFormat
        • Count
        • DateDiff
        • DatePart
        • DegToRad
        • DisplayName
        • Elapsed
        • Exists
        • FileCount
        • FileExt
        • FilePart
        • Floor
        • Format
        • Hypot
        • InStr
        • IsAlpha
        • IsChecked
        • IsDigit
        • IsDir
        • IsEnabled
        • IsFile
        • IsLower
        • IsParent
        • IsPath
        • IsPunct
        • IsSelected
        • IsSet
        • IsSpace
        • IsUpper
        • KeyDown
        • LanguageStr
        • LCase
        • Left
        • Len
        • MakeLegal
        • Match
        • Max
        • Mid
        • Min
        • Now
        • Output
        • Parent
        • PathType
        • Pow
        • RadToDeg
        • RegEx
        • RegExS
        • Replace
        • Resolve
        • Reverse
        • Right
        • Root
        • Rnd
        • Round
        • Running
        • Select
        • Sin
        • Space
        • Stem
        • StrCmp
        • String
        • Sqrt
        • Swap
        • SysInfo
        • Tan
        • Trim
        • Truncate
        • TypeOf
        • UCase
        • URLEncode
        • Val
      • DOpusRT Reference
        • External Manipulation of File Collections
        • Retrieving File and Folder Information
      • Metadata Keywords
        • Keywords for Columns
        • Keywords for SetAttr META
      • Textual Filters
      • Icon Sets
        • Icon Set XML Definition File
        • Icon Sizes
        • Icon Names
        • Icon Display Names
        • Icon Categories
        • DPI aware Icon Sets
        • Localization
        • Icon Images
      • Rename Macro Language
    • New In Directory Opus 13
      • Directory Opus 13 (Highlights)
        • Highlights Page 1
        • Highlights Page 2
        • Highlights Page 3
        • Highlights Page 4
        • Highlights Page 5
        • Highlights Page 6
      • Directory Opus 13 (Detailed)
        • Dark Mode & Cosmetics
        • File Copying
        • Everything (indexed search)
        • Evaluator
        • Lister Defaults
        • Folder Tree
        • File Display
        • Thumbnails
        • Folder Tabs
        • Location Bar
        • Filter Bar
        • Find As You Type (FAYT)
        • Search Field
        • Find Files
        • Duplicate Files Finder
        • Synchronize
        • Other Utility Panels
        • Metadata
        • Columns
        • Folder Sizes
        • Status Bar
        • Rename
        • Viewer
        • Image Converter
        • File & Folder Labels
        • Folder Aliases
        • Folder Formats
        • Preferences
        • Customize
        • Default Toolbars & Menus
        • Script IDE
        • File Types
        • Set Attributes
        • Print / Export Folder Listing
        • Split / Join
        • Archives
        • Cloud Storage
        • User Interface Spacing
        • Virtual Desktops
        • Shell Extensions
        • Miscellaneous Features
        • Miscellaneous Fixes & Workarounds
        • Miscellaneous Commands
        • Miscellaneous Scripting
        • Removed Functionality
      • Tips for Upgrading from Opus 12
由 GitBook 提供支持
在本页
  • Text Styles, Colors and Comments
  • Current drive, view mode, and Lister state
  • Details about the currently selected file or folder
  • Variables
  • Conditional tests
在GitHub上编辑
  1. Manual
  2. Reference
  3. Status Bar Codes

Other Codes

The following status bar codes are used to style text, display miscellaneous information about the current drive or Lister, or work with variables and if-conditions.

Text Styles, Colors and Comments

Code
Description

<b>...</b> <i>...</i> <u>...</u>

Bold text Italic text Underlined text

Use HTML-style tags to make text on the status bar bold, italic, or underlined.

<#RRGGBB>...</#>

Text color

Use tags with RGB hex values around text to make it a different color.

{{

Literal { character

Add two { characters in a row to insert a single literal { character into the status bar text, without it being interpreted as the start of a status bar code.

//

Comments

Start lines with // to turn them into comments. Comments can be used to add notes or explanations, or to temporarily remove parts of the status bar.

The // must be at the very start of the line, with no spaces or anything else before it, for the line to become a comment.

Current drive, view mode, and Lister state

Code
Description

{dlet}

Drive letter

Displays the current drive letter. This refers to the folder that is currently shown in the source file display.

{dlab}

Drive label

Displays the label (if any) of the drive that is currently open in the source file display.

{fsys}

File system

Displays the file system type of the current drive.

{vm}

View mode

{ls}

Lister state

Details about the currently selected file or folder

Code
Description

{sel:..}

Selected file information

Displays information about the most recently selected file. The sel: must be followed by a keyword to specify the information to display; valid keywords are:

  • name: Name of the file or folder.

  • size: File size. Follow this keyword with b or k to specify the units as bytes or KB (otherwise the units are automatically chosen).

  • create: Creation date stamp. Follow this keyword with d or t to specify date or time (otherwise both are shown).

  • write: Last write (modification) date stamp. Follow this keyword with d or t to specify date or time (otherwise both are shown).

  • access: Last access date stamp.

  • attr: File or folder attributes.

  • desc: Description string (the same as is displayed in the Description column).

  • path: Full path of the file or folder.

  • index: Index in the file display.

For example, {sel:sizek} {sel:desc}.

Variables

Code
Description

{var:...}

Variables

Variable names must to be prefixed with a scope. For example:

  • {var:glob:MyGlobalVariable}

  • {var:lst:MyListerVariable}

  • {var:tab:MyFolderTabVariable}

  • {var:src:MySourceFolderTabVariable}

  • {var:dst:MyDestinationFolderTabVariable}

  • {var:left:MyLeftFolderTabVariable}

  • {var:right:MyRightFolderTabVariable}

The tab scope will often be identical to the src scope, but not always. If you have Opus configured to use separate status bars for the left and right file displays, you can use the tab scope in the status bar definition for both sides and it will look up variables in the appropriate file display for each side.

The same scope prefixes are also used in commands which use variables. In addition, for consistency with other status bar codes, you can also use:

  • {varL:tab:xyz} as a synonym for {var:left:xyz}

  • {varR:tab:xyz} as a synonym for {var:right:xyz}

  • {varD:tab:xyz} as a synonym for {var:dst:xyz}

You could then have a menu item, button or hotkey which ran this command to toggle that part of the status bar on and off:

You can negate a variable by adding ! before its name:

Conditional tests

{h!{ifpath:C:\}} You are in the root of C:\. I bet you didn't already know. {h!}

While calculating {ifpath:...} is fairly inexpensive, keep in mind that there can be a performance hit from the other conditional tests, especially if they end up touching a network drive or evaluating a complex command. The status bar is updated frequently -- for example, every time a file is selected or deselected -- and any conditional tests you add to it will be re-evaluated each time it is updated. Don't go overboard!

When showing or hiding part of the status bar based on multiple conditions, put the ones which are cheapest to evaluate at the start. For example:

{h!{ifpath:/downloads}!{ifexists:.\*.dll}} WARNING: DLLs in the downloads folder! {h!}

The {ifpath:...} test is fast, since the current path is already known and just has to be compared to the specified path or wildcard. If that test fails, the {ifexists:...} test which comes after it can be skipped. Doing the tests in this order means you only do the more expensive test when in the folder where it matters. {ifexists:...} can be expensive because it has to go to the disk/filesystem to check if anything is there, which is much slower than testing something which is already in memory.

If you test the same condition multiple times on the status bar, using the exact same codes, you will only pay a performance penalty for the first test; the others re-use its result.

Code
Description

{ifpath:...}

Test the current path

Use {ifpath:...} in to test if the current path matches a particular folder, wildcard or regular expression.

{ifpath:C:\Program Files} -- True when "C:\Program Files" is the current folder.

Quotes are optional, except that if the path contains a { or } character then you must put quotes around it:

{ifpath:"C:\My {Test} Folder"} -- True when "C:\My {Test} Folder" is the current folder.

Put a ! before the path to negate the test.

{ifpath:!C:\Program Files} -- True when "C:\Program Files" is NOT the current folder.

{ifpath:C:\Program Files '(x86')} -- True when "C:\Program Files (x86)" is the current folder.

{ifpath:/downloads} -- True when in your Downloads folder.

Wildcard Tip - Matching folders and sub-folders: Ending the path with (|\*) means it will match both the folder itself and any folders below it. For example:

  • Using C:\MyFolder as the pattern will only match C:\MyFolder itself, and not C:\MyFolder\Child.

  • If you use C:\MyFolder\* instead, it will match C:\MyFolder\Child but will no longer match C:\MyFolder itself.

  • If you use C:\MyFolder*, it will match both folders, but will also match completely unrelated folders such as C:\MyFolderBackup.

  • Using C:\MyFolder(|\*) will match the folder itself and any folders below it (including children-of-children, and so on).

{ifpath:C:\Program Files(|\*)} -- True when in or below "C:\Program Files".

{ifpath:regex:"C:\\Program Files\\[^\\]+$"} -- True in direct children of "C:\Program Files" only. {ifpath:!regex:[0-9]} -- True in folders which have no numbers in their paths.

You cannot use aliases and regular expressions at the same time. Remember to escape backslashes when using regular expressions.

The {ifpath:...} code tests the current, active folder tab's folder. You can also use:

  • {ifpathL:...} to test the left tab's folder.

  • {ifpathR:...} to test the right tab's folder.

  • {ifpathD:...} to test the destination tab's folder.

The L, R and D characters must be uppercase. You would normally only use those side-specific variants when defining a single status bar which is shared by both sides at once (not generally recommended these days). When using a status bar for each side of the lister, you may get unexpected results if you test one side's path from the other side, because each status bar only updates in responses to changes that affect its own side, not the other side.

{ifexists:...}

Test if a path exists

Use {ifexists:...} to test for the existence of things in the filesystem. The test will return true if a file or folder exists at the specified path; it does not make a difference if a file or a folder is found.

As with the {ifpath:...} code, quotes are optional but must be used if the path contains { or } characters.

You can test if an absolute path exists:

{ifexists:C:\Docs\My Special File.txt} -- True if "C:\Docs\My Special File.txt" exists.

You can also test if a relative path exists (i.e. relative to the folder tab's current location). Relative paths must begin with either .\ (for the current directory) or ..\ (for the parent of the current directory).

{ifexists:".\Help"} -- True if "Help" exists below the current directory.

Basic * wildcards can be used in the last path component only:

{ifexists:".*.dll"} -- True if any *.dll files (or folders!) exist below the current directory.

As with {ifpath:...}, you can negate the test using a ! before the path:

{ifexists:!"C:\Test\*.dll"} -- True if no *.dll files exist in "C:\Test".

As with {ifpath:...}, and with similar caveats to those discussed in its section above, you can use {ifexistsL:...}, {ifexistsR:...} and {ifexistsD:...} to target the left, right or destination side instead of the active side.

We do not recommend testing paths on network drives, as that can cause major delays if the drive is slow or unreachable. (Windows takes up to 30 seconds to decide a network path cannot be accessed, and can block the program attempting the access until then.) Testing paths on removable drives, or testing the existence of them, may also have unwanted side-effects, but depends on the type of drive you are testing.

{if:...} {ifset:...}

Test Set and other commands

The "state of a command" generally means whether or not, if the command was placed on a toolbar button, the button would appeared "pushed in" or activated. For example, the Set VIEW=Details command will appear activated when the file display is in Details mode.

As with the {ifpath:...} code, quotes are optional but must be used if the command contains { or } characters.

{if:Set VIEW=Details} -- True if the file display is in Details mode. {if:Toolbar NAME="My Toolbar" TOGGLE} -- True if "My Toolbar" is turned on.

{ifset:...} is simply an synonym for {if:Set...}, maintained for compatibility with similar commands in other parts of the program.

{ifset:VIEW=Details} -- Identical to {if:Set VIEW=Details}

As with {ifpath:...}, you can negate the test using a ! before the command:

{if:!Set VIEW=Details} -- True if the file display is NOT in Details mode.

As an example use-case for this, you might want the status bar to display the date and size of the selected file when in modes such as Thumbnails, while removing the extra clutter when in Details mode, since Details mode shows the same information in its columns. You could do that using these codes:

{h!{if:!Set VIEW=Details}}{sel:size} {sel:write}{h!}

As with {ifpath:...}, and with similar caveats to those discussed in its section above, you can use {ifL:...}, {ifR:...} and {ifD:...} to target the left, right or destination side instead of the active side.

上一页Codes for graphical elements下一页Bar graphs and Percentages

最后更新于9个月前

Displays the current in the source file display.

Displays the current state of the Lister.

Display the value of a variable. Can also be used for . Variables can be set from commands using the or from scripts using the .

To if a variable is not set, and show the part if the variable is set, you could use something like this:

See the for details about the @if, @set, and @toggle command directives.

These all test a condition and return the result. If the condition is true, they will return "1"; if it is false, they will return nothing (an empty string). You would normally use them to show or hide other information. You may find it useful to use them on their own, when testing your status bar codes to check that they return "1" when expected, but once you are done testing you will probably only use them in conjunction with {h!} and similar .

The is used by default. Note that this means that if the path contains ( or ) characters, you need to escape the those characters:

may be used if you wish:

You can use instead by adding regex: before the path:

(Note that you cannot use ifpathr as a shorthand for regular expressions mode, unlike the equivalent, because it has a different meaning here.)

Similar to the @if and @ifset , you can test the state of to determine if status bar parts should be hidden.

<b>This Will Be Bold Text</b>
<i>This Will Be Italic Text</i>
<u>This Will Be Underlined Text</u>
<#FF0000>This Will Be Red Text</#>
{h!{var:glob:ShowExtraInfo}} ...extra info is ON... {h!}
@if:$glob:ShowExtraInfo
@set glob:ShowExtraInfo
@if:else
@set glob:ShowExtraInfo=on
@if:common
@toggle:update
{h!{var:!glob:ShowExtraInfo}} ...extra info is OFF... {h!}
codes for showing and hiding parts of the status bar
view mode
source / destination
hiding sections on the status bar
@set modifier
Vars object
hide part of the status bar
Command Modifier Reference
wildcard pattern matching syntax
Aliases
regular expression syntax
command modifier
command modifiers
internal commands