<?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 - evaluator:applicable_contexts:functions</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-04-14T22:30:20+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:colors&amp;rev=1719601249&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:commands&amp;rev=1764572027&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:conditional_behavior&amp;rev=1692941778&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:dynamic_state&amp;rev=1692941486&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:evaluation_clauses&amp;rev=1692942768&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:functions&amp;rev=1773455209&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:icons&amp;rev=1692940757&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:insertion_code&amp;rev=1721886083&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:labels&amp;rev=1718086807&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:standard_variables&amp;rev=1756100429&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:tooltips&amp;rev=1692940773&amp;do=diff"/>
                <rdf:li rdf:resource="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:usequalkeys&amp;rev=1751589086&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=evaluator:applicable_contexts:functions:colors&amp;rev=1719601249&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-28T19:00:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Button Colors</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:colors&amp;rev=1719601249&amp;do=diff</link>
        <description>In a toolbar or menu button, you can use the @color modifier to set the text and background colors of the button dynamically using the evaluator.

As a very basic example,  would set the text color to black and the background color to red.

To specify separate colors for light and dark modes, you could use something like this:</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:commands&amp;rev=1764572027&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-01T06:53:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator-generated Command Lines</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:commands&amp;rev=1764572027&amp;do=diff</link>
        <description>The evaluator can be used to generate entire command lines. There are two types of command lines it can generate.

Executable commands

When the function is run, the return value from the evaluation expression will be executed as if it had always been part of the function.</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:conditional_behavior&amp;rev=1692941778&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-25T05:36:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Conditional Button Behavior</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:conditional_behavior&amp;rev=1692941778&amp;do=diff</link>
        <description>You can use the evaluator with the various @if and @ifset command modifiers to introduce simple conditional behavior in functions.

Note that these modifiers can also be used without the evaluator, so to use the evaluator you must begin the expression with a  character.

A number of variables are available to the evaluator in this context. Note that some are only applicable to toolbars in the</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:dynamic_state&amp;rev=1692941486&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-25T05:31:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Dynamic Button State</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:dynamic_state&amp;rev=1692941486&amp;do=diff</link>
        <description>You can use the evaluator with the various command modifiers that affect the state of toolbar buttons:

	*  @hideif / @showif - dynamically hide or show the button
	*  @disableif / @enableif - dynamically disable or enable the button
	*  @toggle - control whether the button appears checked/selected or unchecked/unselected</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:evaluation_clauses&amp;rev=1692942768&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-25T05:52:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluation Clauses in Functions</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:evaluation_clauses&amp;rev=1692942768&amp;do=diff</link>
        <description>The @eval and @evalalways command modifiers let you run evaluation expressions inline in your functions.

The main purpose of this is to set variables that can then be used later on in the function by other modifiers like @if, @icon, @label etc.

	*  Variables set via</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:functions&amp;rev=1773455209&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-14T02:26:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Functions</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:functions&amp;rev=1773455209&amp;do=diff</link>
        <description>A function (button/hotkey) can be written entirely using the evaluator if desired.

	*  An evaluator function can use the GetItems function to query for selected files/folders.
	*  Dialogs can be displayed to query for basic information with the Dialog function.</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:icons&amp;rev=1692940757&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-25T05:19:17+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Button Icons</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:icons&amp;rev=1692940757&amp;do=diff</link>
        <description>In a toolbar or menu button, you can use the @icon, @iconp and @icon! modifiers to set button icons dynamically using the evaluator.

Note that these modifiers can also be used without the evaluator, so to use the evaluator you must begin the expression with a  character.</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:insertion_code&amp;rev=1721886083&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-07-25T05:41:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluation Insertion Code</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:insertion_code&amp;rev=1721886083&amp;do=diff</link>
        <description>You can insert the result of an evaluation expression into a command line using the  insertion code.

The expression can insert the value of a variable - for example,  or perform a complicated calculation and return the value.

A number of variables are available to the evaluator in this context. Note that some are only applicable to toolbars in the</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:labels&amp;rev=1718086807&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-11T06:20:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Button Labels</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:labels&amp;rev=1718086807&amp;do=diff</link>
        <description>In a toolbar or menu button, you can use the @label modifier to set the button label dynamically using the evaluator.

As a very basic example,  would set the label to &quot;Hello!&quot;.

Spacer (with labels turned on) and Label fields can also use the evaluator; you don&#039;t need the</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:standard_variables&amp;rev=1756100429&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-25T05:40:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title></title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:standard_variables&amp;rev=1756100429&amp;do=diff</link>
        <description>A number of variables are available to the evaluator in this context. Note that some are only applicable to toolbars in the standalone image viewer, and some only apply to Lister toolbars.

pathboolTruefalseuintboolViewer onlyTruefalseboolTrueboolTrueboolTruestringboolTrue</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:tooltips&amp;rev=1692940773&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-25T05:19:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Evaluator Button Tooltips</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:tooltips&amp;rev=1692940773&amp;do=diff</link>
        <description>You can use the evaluator to generatge the tooltip for a toolbar button dynamically.

Unlike Evaluator Button Icons and Evaluator Button Labels, there&#039;s no @ modifier for tooltips - instead, you enter a  character followed by the evaluation expression, directly into the tooltip field in the button editor.</description>
    </item>
    <item rdf:about="https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:usequalkeys&amp;rev=1751589086&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-04T00:31:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Go USEQUALKEYS</title>
        <link>https://docs.dopus.com/doku.php?id=evaluator:applicable_contexts:functions:usequalkeys&amp;rev=1751589086&amp;do=diff</link>
        <description>You can use the evaluator to override the default behaviour of the  command.

Normally this auto-generates buttons that read a folder normally, in a dual display (with the  key), in a new tab (with the  key), or in a new Lister (with the  key).

The evaluator clause can return a string to replace the default arguments of the</description>
    </item>
</rdf:RDF>
