AutoRotate script final

 From:  Zooen
1001.29 In reply to 1001.28 
Thanks Michael,
Well, when I put a // at the beginning of the line, I got an error message (maybe I didn't understand the instruction properly!). Then I thought of a problem with the left brace.
So here's what I did below: move left brace.

// config: norepeat

function DoAutoRotate()

// moi.ui.commandUI.Start();

{ var dlg = moi.ui.commandDialog;

while ( 1 )
{
if ( !dlg.waitForEvent() )
return false;

if ( dlg.event == 'quit' )
break;
}
}

DoAutoRotate();

It works!

This allows me, when recording an animation, to start at a specific (chosen) position.
Thanks again

- Zooen