Run Count for Opus

RunCount is a script add-in command and column for Directory Opus that helps you to fully integrate Everything's (Voidtools) run count and date run properties into Opus.

Features

  • Add a run count column synchronized with Everything.
  • Add a latest date run column synchronized with Everything.
  • Implement an intelligent automatic increment system that runs whenever you open a file or folder in Opus. That way the execution won't be delayed.
  • Implement commands that let you manage the counter for selected items.
  • Get the most recently run items directly into a collection.
  • Allow customizing the ranges for the run count column groups.
  • Optional support for folders.

:warning: IMPORTANT: READ BEFORE PROCEEDING

This script is provided "as is" and without any kind of warranty.
It was developed during my spare time and has not been extensively tested, so it is presented as a testing version.
The user assumes full responsibility for its use and acknowledges that the author is not liable for any failures or data loss.
Please note this is a work in progress, so bugs may occur.
Feedback on possible improvements or bug reports is highly appreciated.

Requirements

  • Everything. Note that this script is intended to be used with Everything v1.5.0 or later.
  • If you don't have Everything running all the time, it's highly recommended to set up autorun in Opus. To do that, go to Preferences / Miscellaneous / Advanced. There look for everything_autolaunch and put the full path (or alias) of the Everything executable, followed by the -startup argument.

E.g.: "C:\Program Files\Everything\Everything.exe" -startup

This will allow the script to launch Everything automatically if needed.

How to Install

:warning: IMPORTANT: Requires DOpus v13.19 or later
Download the file below. Then go to Script Management (or run Prefs SCRIPTINSTALL) and select the downloaded file.

v2.1.0 : Download from here

Options

In the Script Management window, select RunCount and click the Configure button.

Here you can configure all the script options in a simple way.

You can set the maximum ranges for the column groups and also see the values of the 4 groups in real time.

The Enable support for folders option lets you read and control the run count for folders. That means if it's enabled, each time you open a folder in Opus the counter will increase by 1, and you can also change that value with the command.

Usage

To add the Run Count column, go to the column selector and you'll find it under General > Run Count.
To add the Date Run column, go to the column selector and you'll find it under General > Date Run.

The run counter is incremented automatically when you open a file or folder.

RunCount also supports the following arguments when used as a command:

Command Arguments

Argument Type Value Description
SET /M/O Set the run count value for the specified items. If none are provided, the items selected in the source tab will be used. You will be prompted for the value to set.
INCREMENT /M/O Increment the run count by 1 for the specified items. If none are provided, the items selected in the source tab will be used.
GETLATEST /N/O Get the most N recently run items in a collection. If a number is not provided, the default is 10000.
QUERY /R In addition to GETLATEST, this lets you refine the search for recently run items.

Notes / Technical Details

  • Currently when using as a command, the script doesn't discriminate the files passed when setting the run count, since Everything doesn't appear to require a file to be indexed to have a run count. While that seems safe, it could change at any time, so use with caution, as it's disabled (for now) in automatic mode.
  • Since v1.1.0, RunCount supports keeping run count values when items are renamed via Opus. Report any error you encounter.
  • I made this add-in using the latest Everything alpha build, so there's no guarantee it'll work with v1.4.x.

Acknowledgments

Changelog

v2.1.0 (14-Nov-2025):

  • Fixed an issue when using the columns in a filter/rename operation.

v2.0 (14-Nov-2025):

  • Added a new column: Date Run, which shows the last time an item was executed.
  • Added new arguments: GETLATEST to fetch the latest N recently executed items into a collection, and QUERY to refine that search.
  • Improved the logic for updating columns after certain events.

v1.1.0 (11-Nov-2025):

  • Empty values now correctly sort below 0.
  • Added a notification in the configuration dialog when new script versions are available.
  • Added support to preserve the run count after a rename operation.

v1.0 (11-Nov-2025):

  • Initial release.
7 Likes

Exceptional work!

v1.1.0 (11-Nov-2025):

  • Empty values now correctly sort below 0.
  • Added a notification in the configuration dialog when new script versions are available.
  • Added support to preserve the run count after a rename operation.

Since v1.1.0, RunCount supports keeping run count values when items are renamed via Opus. Please report any feedback.

1 Like

v2.0 (14-Nov-2025):

  • Added a new column: Date Run, which shows the last time an item was executed.
  • Added new arguments: GETLATEST to fetch the latest N recently executed items into a collection, and QUERY to refine that search.
  • Improved the logic for updating columns after certain events.
2 Likes

v2.1.0 (14-Nov-2025):

  • Fixed an issue when using the columns in a filter/rename operation.
1 Like