UI.Result:Str (read/write)
Result of last user-interface operation. Operations like UI.Message store their result in a variable UI.Result. If a local variable UI.Result is visible, the result is stored in that instead of the global one. It is therefore a good idea to define a local variable to capture results without disturbing or being disturbed by other scripts.
See also: Global Variables