<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://docs.dopus.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://docs.dopus.com/feed.php">
        <title>Directory Opus Manual - scripting:example_scripts</title>
        <description></description>
        <link>https://docs.dopus.com/</link>
        <image rdf:resource="https://docs.dopus.com/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-05-15T02:56:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column&amp;rev=1727619757&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column_from_shell_properties&amp;rev=1730646216&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_internal_command&amp;rev=1714414857&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:example_rename_script&amp;rev=1714414396&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:extending_the_fayt&amp;rev=1751606660&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:responding_to_events&amp;rev=1714415131&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:script_dialog_example&amp;rev=1739993378&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_dialogs_and_popup_menus&amp;rev=1692398147&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_script_function&amp;rev=1714414886&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://docs.dopus.com/lib/exe/fetch.php?media=logo.png">
        <title>Directory Opus Manual</title>
        <link>https://docs.dopus.com/</link>
        <url>https://docs.dopus.com/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column&amp;rev=1727619757&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-29T14:22:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Adding a new Column</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column&amp;rev=1727619757&amp;do=diff</link>
        <description>This is an example of a script add-in that adds a new information column to Opus.

This column, Is Modified?, indicates whether a file has been modified since it was created. This is performed by simply comparing whether the item&#039;s creation and modification dates are the same.</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column_from_shell_properties&amp;rev=1730646216&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-11-03T15:03:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Adding a new Column from Shell Properties</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_column_from_shell_properties&amp;rev=1730646216&amp;do=diff</link>
        <description>Directory Opus has script support for Windows shell properties, making it easy for a script to enumerate properties in the system and retrieve the properties for a file.

Note that if you just want to display a column from File Explorer, you can do so via</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_internal_command&amp;rev=1714414857&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:20:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Adding a new Internal Command</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:adding_a_new_internal_command&amp;rev=1714414857&amp;do=diff</link>
        <description>This is an example of a script add-in that adds a new internal command to Opus.

This command, SelectNewest, selects one or more of the newest files in the current folder. You would use this by creating a new .js file in the Script Addins folder (type /dopusdata/Script Addins</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:example_rename_script&amp;rev=1714414396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:13:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Example Rename Script</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:example_rename_script&amp;rev=1714414396&amp;do=diff</link>
        <description>This is an example of a rename script that adds an image file&#039;s resolution to its filename.

You would use this script through the Advanced Rename dialog (turn on the Script mode option to display the script editor). You could also embed the script in a button.


&#039; Set the script type to VBScript to use this script
Option Explicit

&#039; Main Rename entry point.
&#039; The method is passed a GetNewNameData object for each file.
Function OnGetNewName ( ByRef GetNewNameData )
	Dim item, meta

	&#039; Get the pr…</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:extending_the_fayt&amp;rev=1751606660&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-04T05:24:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Extending the FAYT Field</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:extending_the_fayt&amp;rev=1751606660&amp;do=diff</link>
        <description>Find-As-You-Type (FAYT) scripts let you type into the FAYT field and pass it to a script. The script can then (optionally) pass back a list of matches and perform actions, either as you type or when you push return.

Several FAYT script examples can be found on the</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:responding_to_events&amp;rev=1714415131&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:25:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Responding to Events</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:responding_to_events&amp;rev=1714415131&amp;do=diff</link>
        <description>Script add-ins are invoked in response to one or more events.

This is an example of a script add-in that responds to two different events. You would use this by creating a new .vbs file in the Script Addins folder (type /dopusdata/Script Addins into the location field to find this).</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:script_dialog_example&amp;rev=1739993378&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-19T19:29:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Script Dialog Example</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:script_dialog_example&amp;rev=1739993378&amp;do=diff</link>
        <description>This is an example of a script dialog; it implements the dialog shown at the start of the Script Dialogs section. It makes use of a Tab control to host two child dialogs, and also demonstrates how to add and remove strings from a List Box control.



The Tab control has been configured to host two child dialogs;</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_dialogs_and_popup_menus&amp;rev=1692398147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-18T22:35:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Simple Dialogs and Popup Menus</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_dialogs_and_popup_menus&amp;rev=1692398147&amp;do=diff</link>
        <description>The Dialog object makes it easy for scripts to display various types of dialogs and popup menus. Here are a few examples of its use. You can try all of these in the CLI set to script mode (with the type set to VBScript).






&#039; Create a Dialog object. You can also obtain dialog objects from the Lister, Tab, Func and Command objects.
Set dlg = DOpus.Dlg 
&#039; Initialise the object to display a simple message with three buttons.
dlg.window = DOpus.Listers(0)
dlg.message = &quot;Simple dialog message&quot;
dlg…</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_script_function&amp;rev=1714414886&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-04-29T18:21:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Simple Script Function</title>
        <link>https://docs.dopus.com/doku.php?id=scripting:example_scripts:simple_script_function&amp;rev=1714414886&amp;do=diff</link>
        <description>This is an example of a script function that displays the name of the largest file in the current folder, and gives you the option to select it.

To use this function you would:

	*  Create a new toolbar button or hotkey and edit it 
	*  Click the Advanced button in the command editor to switch to the advanced command editor 
	*</description>
    </item>
</rdf:RDF>
