SetCursor in InputScript: The command "SetCursor" does not work in an InputScript. Is there a correction or workaround?

The "SetCursor" command does work in an InputScript but refers to the screen that is currently being processed in the InputScript. With the next "Enter", a new screen is displayed and the "SetCursor" is no longer valid.

In order to have "SetCursor" functioning for the next screen, please use the following logic:

// InputScript:

Set V[cursor_to_field]  "F[account number]"

// GuiXT Script:

if V[cursor_to_field]]

  SetCursor  "&V[cursor_to_field]"

  Set V[cursor_to_field] ""