Process events to make active view set before executing Octave scripts
p4#: 22404