User Hook for Dynamic Text
In some cases, dynamic text needs to be handled; for example, a Personal Identification Number (PIN) code is displayed in a message box and needs to be entered into a text box later on. The PIN code that is displayed at replay time is the one that needs to be entered into the text box at replay time; the PIN code that was displayed at recording time will not work.
To handle this, a special click was defined for TextBox controls; that is, Ctrl+Shift+left-click. This identifies the text box as dynamic. At replay time, this means that the text in the text box is set from the return string of app.atcgDynamicContent rather than the string that was entered at recording time. You can then reimplement app.msgBox to save off the required text, and modify app.atcgDynamicContent to return it at the correct time.