Category: Script Library
Script Search
This script searches through all available scripts in a given document and reports if and where a match is found. It uses a selector popup where one can select how the search should be performed: on All forms, on Document scripts only, or on a particular form.
The search is case sensitive!
The search output goes either to the console or the html web browser (default).
Usage
This is a helper script and directly executing it doesn't do anything.
It makes sense that the script search operation is document script. Create a new document script called and use following code. I'd set the favorite flag as well.
document.getFormNamed('Scripts').runScriptNamed('Script Search');
Script_Search();
If the search output should go to the console, use this instead:
document.getFormNamed('Scripts').runScriptNamed('Script Search');
Script_Search("console");
Installation
The Script Search script is installed using the scriptHandler script about which you can learn more over here. It is installed in the Scripts form.
Dependencies
Following helper scripts are needed
- TF API Extensions
- prompterHelper
- Color Codes
- htmlPrompter
These scripts can be installed using scriptHandler.
ChangeLog
Link to ChangeLog
Author
- Daniel Leu, info@danielleu.com
Do you like this script? Are you using it? Please consider supporting me by buying me a coffee!
Thanks!
Last modified: Apr 24, 2025 6:29:08 PM
