Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Restricting an Action Based on the Number of Arguments

Use the ARG_COUNT field to specify the number of arguments the action can accept. Valid values are:

* (Default)--any number of arguments. Other values have precedence over *.

n--any non-negative integer, including 0.

>n--more than n arguments.

<n--fewer than n arguments.

One use for ARG_COUNT is to provide different action icon behavior, depending on whether the user double-clicks the icon or drops a file on it. See the next section, "To Provide Different Double-Click and Drop Behavior."