QueryTaskCatalog Task

This task returns a list of the tasks available in ENVI.

Example

; Start the application

e = ENVI(/HEADLESS)

 

; Get the task from the catalog of ENVITasks

Task = ENVITask('QueryTaskCatalog')

 

; Return only the ENVI tasks that

; compute convolution filters

Task.FILTER_TAGS = ['ENVI', 'Convolution Filters']

 

; Run the task

Task.Execute

 

; Print the list of tasks available in ENVI.

Print, Task.TASKS, FORMAT='(A)'

Syntax

Result = ENVITask('QueryTaskCatalog')

Input parameters (Set, Get): FILTER_TAGS

Output parameters (Get only): TASKS, UNIQUE_TAGS

Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.

Input Parameters

FILTER_TAGS (optional)

Set this parameter to an array of tags used to filter the queried tasks. The QueryTaskCatalog task returns tasks that meet the criteria for all specified tags, not just some of them. The tags are not case-sensitive. If no results are found, TASKS and UNIQUE_TAGS return a value of !NULL.

Output Parameters

TASKS

An array containing the names of all ENVITasks that meet the query criteria.

UNIQUE_TAGS

An array containing the union of all unique tags contained in the tasks that meet the query criteria.

Methods

Execute

Parameter

ParameterNames

Properties

DESCRIPTION

DISPLAY_NAME

NAME

REVISION

TAGS

Version History

ENVI 5.3

Introduced

ENVI 5.5. 1

Added the FILTER_TAGS and UNIQUE_TAGS parameters

See Also

ENVITask, ENVIQueryTask