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

Creating an Action that Prompts for a File Argument

Use this syntax for the file argument:

%(File)"prompt"% 

This syntax creates an action that displays a prompt for a file name when the user double-clicks the action icon.

For example, this execution string displays a dialog box that prompts for the file argument of the wc -w command:

EXEC_STRING wc -w %(File)"Count words in file:"%