# \#script

**URL:** https://resource.dopus.com/tag/script/1.md

[Latest](https://resource.dopus.com/latest.md) · [Categories](https://resource.dopus.com/categories.md) · [Tags](https://resource.dopus.com/tags.md)

---

## [Pressing Esc in a multiline edit control closes the dialog](https://resource.dopus.com/t/pressing-esc-in-a-multiline-edit-control-closes-the-dialog/60664)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 8\
**Last updated:** [November 21, 2026, 12:48am UTC](https://resource.dopus.com/t/pressing-esc-in-a-multiline-edit-control-closes-the-dialog/60664 "2026-11-21T00:48:09Z")

</div>

I may already know this, but I most likely forgot, and I can't find anything about it in the docs. It looks like if you have a multiline edit control in a dialog and press the Esc key while it has focus, the dialog will…

---

## [Does Date.Parse() work with ISO-8601 dates?](https://resource.dopus.com/t/does-date-parse-work-with-iso-8601-dates/60579)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 2\
**Last updated:** [November 20, 2026, 3:57pm UTC](https://resource.dopus.com/t/does-date-parse-work-with-iso-8601-dates/60579 "2026-11-20T15:57:46Z")

</div>

Not sure if this is a bug or maybe something I'm misunderstanding, and I've been wondering about this for a long time, so here we go: If I check a valid ISO-8601 formatted date using Date.Parse() with 2 as the flag, it …

---

## [OpusExifTool : All the ExifTool data you can ask for!](https://resource.dopus.com/t/opusexiftool-all-the-exiftool-data-you-can-ask-for/58559)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 49\
**Last updated:** [November 20, 2026, 12:09am UTC](https://resource.dopus.com/t/opusexiftool-all-the-exiftool-data-you-can-ask-for/58559 "2026-11-20T00:09:08Z")

</div>

OpusExifTool All the ExifTool data you can ask for Opus! OpusExifTool is a script add‑in for Directory Opus that extends the default multimedia columns, letting you pull in any ExifTool value right into Opus. What reall…

---

## [About StringTools.FormatAs()](https://resource.dopus.com/t/about-stringtools-formatas/60658)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [November 18, 2026, 5:30am UTC](https://resource.dopus.com/t/about-stringtools-formatas/60658 "2026-11-18T05:30:55Z")

</div>

I was playing around with this new option and got some feedback and a few questions too. Instead of throwing an error, could you make it return false or null instead? Since everything it returns seems to be a string,…

---

## [Folder Tab Label Spacing – Ajout d’un espace entre l’icône et le nom des onglets](https://resource.dopus.com/t/folder-tab-label-spacing-ajout-d-un-espace-entre-l-icone-et-le-nom-des-onglets/60196)

<div class="topic-metadata">

**Author:** [@Fredisland](https://resource.dopus.com/u/Fredisland)\
**Replies:** 4\
**Last updated:** [November 17, 2026, 4:03pm UTC](https://resource.dopus.com/t/folder-tab-label-spacing-ajout-d-un-espace-entre-l-icone-et-le-nom-des-onglets/60196 "2026-11-17T16:03:54Z")

</div>

Folder Tab Label Spacing :united\_kingdom: ENGLISH This small script automatically adds spacing between the folder icon and the name of every folder tab in Directory Opus. It makes folder tabs slightly easier to read.…

---

## [OnFileOperationComplete : More operations](https://resource.dopus.com/t/onfileoperationcomplete-more-operations/60907)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 2\
**Last updated:** [November 17, 2026, 2:00pm UTC](https://resource.dopus.com/t/onfileoperationcomplete-more-operations/60907 "2026-11-17T14:00:00Z")

</div>

Hi. Is there any technical limitation or perhaps something worth being aware of that explains why OnFileOperationComplete only supports rename operations? Could it be something like a potential impact on performance or …

---

## [Obtain filetypes supported for read/write through external tools programmatically](https://resource.dopus.com/t/obtain-filetypes-supported-for-read-write-through-external-tools-programmatically/60899)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 0\
**Last updated:** [November 15, 2026, 1:35pm UTC](https://resource.dopus.com/t/obtain-filetypes-supported-for-read-write-through-external-tools-programmatically/60899 "2026-11-15T13:35:21Z")

</div>

Hi. I think it would be a good addition to have some way of obtaining the supported file types using external tools, via the scripting api. For example if you make a script that processes images, you would need to know …

---

## [Detached Dialog "Touch" Script](https://resource.dopus.com/t/detached-dialog-touch-script/23676)

<div class="topic-metadata">

**Author:** [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Replies:** 22\
**Last updated:** [November 15, 2026, 1:07am UTC](https://resource.dopus.com/t/detached-dialog-touch-script/23676 "2026-11-15T01:07:13Z")

</div>

Version 5 of Touch is available for download. touch.js.txt (25.7 KB) Installation There are several ways of installing a script. Perhaps the most straightforward is to navigate to the Script Add-ins folder using the b…

---

## [OpusMediaInfo : All the MediaInfo data you can ask for!](https://resource.dopus.com/t/opusmediainfo-all-the-mediainfo-data-you-can-ask-for/56344)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 100\
**Last updated:** [November 14, 2026, 6:54pm UTC](https://resource.dopus.com/t/opusmediainfo-all-the-mediainfo-data-you-can-ask-for/56344 "2026-11-14T18:54:49Z")

</div>

OpusMediaInfo All the MediaInfo data you could ever want in Opus! OpusMediaInfo is a script add-in for Directory Opus that extends the default multimedia columns, letting you access any MediaInfo value directly in Opus.…

---

## [DOpus crashes when writing in the script log](https://resource.dopus.com/t/dopus-crashes-when-writing-in-the-script-log/60820)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 5\
**Last updated:** [November 4, 2026, 1:59am UTC](https://resource.dopus.com/t/dopus-crashes-when-writing-in-the-script-log/60820 "2026-11-04T01:59:09Z")

</div>

I thought this had been addressed before, since I've noticed that when you write a very large amount of text to the script log, it either gets truncated or simply ignored. But it looks like this can still happen. In one…

---

## [TrId2 File type detector: dialog and "fix file extension" command](https://resource.dopus.com/t/trid2-file-type-detector-dialog-and-fix-file-extension-command/59959)

<div class="topic-metadata">

**Author:** [@PolarGoose](https://resource.dopus.com/u/PolarGoose)\
**Replies:** 9\
**Last updated:** [November 3, 2026, 6:53am UTC](https://resource.dopus.com/t/trid2-file-type-detector-dialog-and-fix-file-extension-command/59959 "2026-11-03T06:53:54Z")

</div>

This plugin uses the TrId2 library to detect file types based on file content. This plugin provides a dialog that shows the file type information and a "fix file extension" command. Please refer to the Readme in the…

---

## [ColorPicker v2 for Directory Opus](https://resource.dopus.com/t/colorpicker-v2-for-directory-opus/59062)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [November 2, 2026, 12:19am UTC](https://resource.dopus.com/t/colorpicker-v2-for-directory-opus/59062 "2026-11-02T00:19:55Z")

</div>

ColorPicker A color picker for Directory Opus 13 This script add-in lets you pick the color currently under the mouse anywhere on the screen. Requirements Directory Opus 13.22.5 or higher. Windows 10 1803 or hig…

---

## [Auto jpeg and png-to-JXL conversion with toggles and ad-hoc, loop-resistant reversion](https://resource.dopus.com/t/auto-jpeg-and-png-to-jxl-conversion-with-toggles-and-ad-hoc-loop-resistant-reversion/60802)

<div class="topic-metadata">

**Author:** [@tbgoodloe](https://resource.dopus.com/u/tbgoodloe)\
**Replies:** 0\
**Last updated:** [October 29, 2026, 4:24pm UTC](https://resource.dopus.com/t/auto-jpeg-and-png-to-jxl-conversion-with-toggles-and-ad-hoc-loop-resistant-reversion/60802 "2026-10-29T16:24:33Z")

</div>

Recently I've been working more in JXL (JPEG-XL) format but I got tired of doing manual file conversions. Using the below script, I have Dopus handling that on the fly, with means to revert the conversions back and forth…

---

## [Include data and group when using Control.AddItem() with a two-dimensional array](https://resource.dopus.com/t/include-data-and-group-when-using-control-additem-with-a-two-dimensional-array/60781)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 5\
**Last updated:** [October 28, 2026, 12:01am UTC](https://resource.dopus.com/t/include-data-and-group-when-using-control-additem-with-a-two-dimensional-array/60781 "2026-10-28T00:01:36Z")

</div>

Adding items to a ListView via a two-dimensional array is much faster than adding them one by one. But is there a way to include the associated data and group as well? Maybe other properties, too (eg. checked value)? Tha…

---

## [Tab expansion in dynamic button labels](https://resource.dopus.com/t/tab-expansion-in-dynamic-button-labels/60770)

<div class="topic-metadata">

**Author:** [@lxp](https://resource.dopus.com/u/lxp)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 11:55am UTC](https://resource.dopus.com/t/tab-expansion-in-dynamic-button-labels/60770 "2026-10-26T11:55:39Z")

</div>

The string \\t in the label of a dynamic button will be expanded to a tab. This can happen for instance if the label is path: button.label = item; Is this by design? If so, I'd just escape the label: button.label =…

---

## [PREFS SCRIPTINSTALL silently](https://resource.dopus.com/t/prefs-scriptinstall-silently/60756)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 2\
**Last updated:** [October 24, 2026, 7:56pm UTC](https://resource.dopus.com/t/prefs-scriptinstall-silently/60756 "2026-10-24T19:56:42Z")

</div>

Is there any way to avoid confirmation when installing a script via PREFS SCRIPTINSTALL? Something like a silent mode. Or do you think this could be abused by someone?

---

## [Evaluator function call caused high CPU usage](https://resource.dopus.com/t/evaluator-function-call-caused-high-cpu-usage/60727)

<div class="topic-metadata">

**Author:** [@lxp](https://resource.dopus.com/u/lxp)\
**Replies:** 0\
**Last updated:** [October 19, 2026, 7:40am UTC](https://resource.dopus.com/t/evaluator-function-call-caused-high-cpu-usage/60727 "2026-10-19T07:40:38Z")

</div>

While playing with the new evaluator functions, I noticed code execution would stop after a function call. No errors, no crashes, but after looking for a bug a bit Opus used 60% of my CPU. Exiting Opus brought everythin…

---

## [FSUtil reports that an MTP file exists even when it doesn't](https://resource.dopus.com/t/fsutil-reports-that-an-mtp-file-exists-even-when-it-doesnt/60697)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 0\
**Last updated:** [October 15, 2026, 1:50am UTC](https://resource.dopus.com/t/fsutil-reports-that-an-mtp-file-exists-even-when-it-doesnt/60697 "2026-10-15T01:50:17Z")

</div>

This is probably a very minor issue, but I just wanted to let you know. I'm not sure if it's a bug, but if you connect an MTP device during a session, then for the remainder of that session (until Opus is restarted), al…

---

## [Timeout for Item.MatchFilter()](https://resource.dopus.com/t/timeout-for-item-matchfilter/60696)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 0\
**Last updated:** [October 14, 2026, 10:36pm UTC](https://resource.dopus.com/t/timeout-for-item-matchfilter/60696 "2026-10-14T22:36:16Z")

</div>

Please consider adding a second argument to Item.MatchFilter() to specify a timeout for the filter to act on, since it can cause a freeze while waiting for the operation to complete. This is probably an edge case, but it…

---

## [About MTP paths in scripting](https://resource.dopus.com/t/about-mtp-paths-in-scripting/60695)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [October 14, 2026, 8:51pm UTC](https://resource.dopus.com/t/about-mtp-paths-in-scripting/60695 "2026-10-14T20:51:09Z")

</div>

Whenever you get a path originating from MTP, regardless of how it's passed, it contains some codes that look like internal IDs or something similar. Something like: mtp://\[redacted\]/?s10001?|Almacenamiento interno comp…

---

## [About FTP paths in commands](https://resource.dopus.com/t/about-ftp-paths-in-commands/60689)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [October 14, 2026, 5:27am UTC](https://resource.dopus.com/t/about-ftp-paths-in-commands/60689 "2026-10-14T05:27:48Z")

</div>

It looks like when accessing selected files from an FTP site via {filepath} and its variants, they're copied to a temp folder, and Opus passes the temp path instead of the original, even when the files haven't actually b…

---

## [Resolve a local UNC path to a physical drive path](https://resource.dopus.com/t/resolve-a-local-unc-path-to-a-physical-drive-path/60686)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 2\
**Last updated:** [October 13, 2026, 10:50pm UTC](https://resource.dopus.com/t/resolve-a-local-unc-path-to-a-physical-drive-path/60686 "2026-10-13T22:50:30Z")

</div>

Since we have Path.ToUNC(); is there a quick way to convert a UNC path that points to my own local machine into its actual physical drive path? Basically resolving something like \\\\COMPUTERNAME\\myshare\\file.txt back to C…

---

## [Idea: Use .opusscriptinstall as a self-extracting package for other resources](https://resource.dopus.com/t/idea-use-opusscriptinstall-as-a-self-extracting-package-for-other-resources/60525)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 3\
**Last updated:** [October 11, 2026, 6:09pm UTC](https://resource.dopus.com/t/idea-use-opusscriptinstall-as-a-self-extracting-package-for-other-resources/60525 "2026-10-11T18:09:13Z")

</div>

I don't know if this will ever become widespread, but I've occasionally found the need to include something other than the code in a script (e.g. an .exe as a helper, some image in a specific folder). Currently, my appr…

---

## [Run Count for Opus](https://resource.dopus.com/t/run-count-for-opus/57748)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 6\
**Last updated:** [October 11, 2026, 6:06pm UTC](https://resource.dopus.com/t/run-count-for-opus/57748 "2026-10-11T18:06:13Z")

</div>

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 …

---

## [Shared dimensions in script dialog](https://resource.dopus.com/t/shared-dimensions-in-script-dialog/60661)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 5\
**Last updated:** [October 9, 2026, 5:52pm UTC](https://resource.dopus.com/t/shared-dimensions-in-script-dialog/60661 "2026-10-09T17:52:33Z")

</div>

I was trying to create a dialog where the two list views share the same width, and the edit control shares the same height as the list view on the right. But this is what it currently looks like when resizing the window. …

---

## [ToolbarPalette : A Command Palette option for Opus](https://resource.dopus.com/t/toolbarpalette-a-command-palette-option-for-opus/53883)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 48\
**Last updated:** [October 9, 2026, 1:20am UTC](https://resource.dopus.com/t/toolbarpalette-a-command-palette-option-for-opus/53883 "2026-10-09T01:20:33Z")

</div>

ToolbarPalette is a script add-in command for Directory Opus, allowing users to run their commands, scripts, and other toolbar content quickly. Inspired by command palettes from other applications, this tool integrates s…

---

## [References to status labels in markup](https://resource.dopus.com/t/references-to-status-labels-in-markup/60656)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [October 8, 2026, 7:45pm UTC](https://resource.dopus.com/t/references-to-status-labels-in-markup/60656 "2026-10-08T19:45:14Z")

</div>

Since there's currently no way to programmatically define a status label from scratch, is there a way to instead reference an existing one, so we can use the icon/label in anything that supports markup (markup controls, …

---

## [Date control with both date and time](https://resource.dopus.com/t/date-control-with-both-date-and-time/60637)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 1\
**Last updated:** [October 5, 2026, 6:20am UTC](https://resource.dopus.com/t/date-control-with-both-date-and-time/60637 "2026-10-05T06:20:28Z")

</div>

Is it possible to have a Date Control in a dialog to get a date and a time value at the same time? It looks like in order to do that you need 2 controls and then merge the results. Would it be possible to have it both w…

---

## [Assign mnemonics programatically](https://resource.dopus.com/t/assign-mnemonics-programatically/60602)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 0\
**Last updated:** [September 29, 2026, 7:11pm UTC](https://resource.dopus.com/t/assign-mnemonics-programatically/60602 "2026-09-29T19:11:30Z")

</div>

In the script editor, for dialogs, there's a nice option called Check Mnemonics that offers to auto-assign them. Would it be possible to access that at runtime? The reason is that it's particularly useful for multi-lang…

---

## [Evaluator As() function via scripting](https://resource.dopus.com/t/evaluator-as-function-via-scripting/60520)

<div class="topic-metadata">

**Author:** [@errante](https://resource.dopus.com/u/errante)\
**Replies:** 5\
**Last updated:** [September 28, 2026, 7:44am UTC](https://resource.dopus.com/t/evaluator-as-function-via-scripting/60520 "2026-09-28T07:44:42Z")

</div>

One of the things I really like about Evaluator is the As() function, because it lets you format many things without having to write a lot of code yourself. Could you please consider porting that function to StringTools…

[Next page](https://resource.dopus.com/tag/script/1.md?match_all_tags=true&page=1&tags%5B%5D=script)
