April 7, 2021 at 12:49 pm #27397
LTT
Participant
Macro function is broken in many ways:
Default settings (for all the tests).
1:
** Unable to popup a menu, e.g.:
menu = CreatePopupMenu();
menu.Add( "?", 1 );
result = menu.Track();
2:
** If “Redraw = false” is run, I have to run “Redraw = true” to revert the view.
You can test with this macro:
if( confirm( "Redraw = false ?" ) ) {
Redraw = false;
}
if( confirm( "Redraw = true ?" ) ) {
Redraw = true;
}
3:
Open “Run with Temporary Options…” dialog.
Cancel it.
** It seems something is running and will never end:
See the mouse cursor in the view: It’s “Busy”.
See the “Macros” menu: Almost all the items are disabled. And “Stop” command can not stop this.