Search found 1 match

by textpadfan
Thu Apr 15, 2004 5:44 pm
Forum: General
Topic: Getting Tool Parameters
Replies: 1
Views: 668

Getting Tool Parameters

For a custom Tool I wrote, I'd like to:

(1) Use the selected text as the parameter (using $Sel).
OR
(2) Prompt the user for the value if nothing is selected (using $Prompt).

Is there a way to define a Tool Parameter to be something like:

if ($Sel == null) then $Prompt(Enter value:) else $Sel