Tsl Search Utility

Although it was published some time ago, I have found that most users are unaware of this handy little tool. Here is the text from hsbAcademy

·      TslSearch.exe is a small utility to search for Tsl scripts (.mcr) on the local file system. 

This is a new stand-alone utility which can also be run directly from the ACA environment. It tracks standard Tsl folders such as hsbCompany/Tsl and those selected in the automatic update function. It analyzes each .mcr script in selected folders and allows the user to filter them according to their function, name, and description.

In addition to being run from AutoCAD (HSB_TSLINDEXER) the app can be run independently. <hsbInstallation>/Utilities.Acad/TslIndexer/TslSearch.exe. When used outside of ACA, scripts can be listed and viewed but are not able to be imported into AutoCAD. When run from AutoCAD you can directly import the script into the currently open .dwg

·      Steps to use the tool 

The idea is that the user can define 3 types of search parameters.

1.      Insertion Entity. What is selected when the script is first executed?

2.      Action. The common actions taken by Tsl scripts in the ACA environment are listed, along with appropriate target objects. Does it create Beams? Sheets? Draw Linework or Dimensions?
Multiple rules can be specified.

3.      Keywords. Any text entered here is matched against the script Name and Description in addition to formal Keywords listed in the script definition.
Multiple separate Keywords can be defined, delineated by comma, space, or semicolon.
So: “Term, Another Term; Thing” will search using “Term”, “Another”, and “Thing”


Picture1.png

A. Results List

B. Selected script Name and Description

C. Launch selected script in system code viewer

D. Match rating

E. The Entities which are selected during insertion

F. Action Rules, defining what the script does

G. Keywords, one or more user defined search terms

H. Status Message, communicates current state to the user

K. Options, allows user to select which folders are searched/indexed


Picture2.png

The Options dialog:

A. Button to add new folders to the search path

B. Check box to include or exclude this folder from the current search

C. Delete this folder from the list.

D. Hsb Company folder, and folders defined in the Tsl Auto Update function are always present and cannot be deleted here