I am looking to change a spcific text in an enter data field in several files with a batch processes. So far, I think I have found out, that the "Find and Replace Text"-tool is part of the CHNGTXT MDL. My problem however is how to make a script, that uses CHNGTXT? What is the syntax when scripting to this MDL?
To change all the text that reads cement to read concrete, use the following commands in a script file:
MDL KEYIN FINDREPLACETEXTFIND DIALOG SEARCHSTRING cementFIND DIALOG REPLACESTRING concreteCHANGE TEXT ALLFILTERED
Or plop the commands into a macro similar to the following:
Sub main Dim startPoint As MbePoint Dim point As MbePoint, point2 As MbePoint MbeSendCommand "MDL KEYIN FINDREPLACETEXT" MbeSendKeyin "FIND DIALOG SEARCHSTRING cement" MbeSendKeyin "FIND DIALOG REPLACESTRING concrete" MbeSendKeyin "CHANGE TEXT ALLFILTERED"End Sub
Pick the tool. Adjust the settings. Follow the prompts.
This script is not working for me
Trying to rename a tag in a cell. It works when I do it manually with Find/Replace Text.