Searching Within Tasks

This article covers the following topics:

Searching in Tasks Overview

Finding Text

Replacing Text

Using Bookmarks

Overview


Task Builder includes several ways to search for particular text or specific steps within a task. A comprehensive Find feature can quickly search for every occurrence of a specific word or phrase in one or more open tasks. Filter options include the ability to search the current task, all open tasks, selected steps or a specific folder that contains AML files. This can be particularly helpful when more than one task is open at the same time and/or contain a large amount of steps. A Replace option can be used along with Find to replace the string of found text. A Select feature allows you to easily find step numbers and labels in a task. The Find, Replace and Select features are conveniently grouped together in the Ribbon's Find command group (as shown below). Additionally, Bookmarks can be used to mark steps in a task so you can find them easily later on. If using comments, an option is included that allows you to jump to any comment as well.

Finding Text


The Find dialog box searches through a document from the insertion point down or from the insertion point up, depending on which search direction you choose. In addition, the search automatically continues when it reaches the beginning or end of a file. The status bar displays a message when the beginning or end of a document has been passed. A message box appears when you have reached the starting point of the search.

To find text in a task:

  1. In the Steps pane, click the step from which you want to start the search or specific steps you want the search to include. To select more than one step, hold down CTRL during selection (You can search up or down in the task).

  2. If using the Ribbon interface, select the Home tab and click Find.

OR

If using the Menu/Toolbar interface, click the Find button or click Find on the Search menu. A Find dialog box appears (as shown below).

  1. In the Look In parameter, select one of the following:

  1. If you wish to include functions, enable the option Include all functions.

  2. In the Find What parameter, enter the text, along with wildcard characters or regular expressions, for which you intend to search. Select the drop-down list to display the last 16 items entered.

  3. Under Find What, select any conditions you want to use:

  4. Click Find Next. The found text (if any) is highlighted in the task.

  5. Click Find Next again to find additional instances of the text.

  6. Click Close when finished.

NOTE: You can close the dialog box, and find the next instance by clicking Find Next on the Ribbon or Search menu.

Replacing Text


You can automatically replace text in a task by using the Find and Replace dialog. This dialog box allows you to make text substitutions in the current task.

To replace text in a task:

  1. If using the Ribbon interface, select the Home tab and click Replace from the Find command group.

OR

If using the Menu/Toolbar interface, select the Search menu and click Replace. A Find and Replace dialog box appears (as shown below).

  1. To find text, follow the same instructions entered for steps 3 to 6 under Finding Text.  

  2. In the Replace With parameter, enter the text you wish to replace the found text with.

  3. Click Find Next. The found text (if any) is highlighted in the task.

  4. Click Replace.  The found text is replaced with the replacement text.

  5. Click Replace All. All instances of the found text is replaced with the replacement text.

Using Bookmarks


Bookmarks are a means of marking steps in a task so you can find them easily when building or editing the task.

To set or remove a bookmark:

  1. In the Task Builder Steps pane, select the step where you want to place or remove the bookmark.

  2. If using the Ribbon interface, select the Home tab and click Bookmark from the Step command group.

OR

If using the Menu/Toolbar interface, on the Search menu, click Toggle Bookmark.

To go to a bookmark:

OR

If using the Menu/Toolbar interface, on the Search menu, click Next Bookmark or Previous Bookmark.  

See Also

Editing Task Steps

Comments Debug View

Task Functions

Task Variables

↑ Top of Page