Apply Script Function

The Apply Script function, accessible from the Binary Mode dialog, allows you to transform the search &/or replace strings into something else by applying a script to them in advance of a later operation. This allows you, for example, to more easily handle the plain text conversions needed when dealing with RTF, Unicode, or html documents. Different scripts may be separately applied to the search and replace strings.

To use the Apply Script function you must first develop a script to process the search &/or replace strings. The scripts are standard Search and Replace scripts with the qualification that it is not necessary to supply a [Path] entry. They may be created via the Script Dialog or manually using a text editor.

Note: Press CTRL+Binary Mode button to quickly insert the current search/replace string into the respective binary mode dialog.

Three example uses of the Apply Script are available:

RTF Example
Regular Expressions Reserved Characters Example

HTML Example

Apply Script Function