Strictly speaking it's not an Extension, but it does extend the
capability of MAXScript and provides a function not otherwise
available. It is a DOS utility program to handle unwanted dialogs in
MAXScript. For details, see send0k(2)-MAXForumThread.txt and the header
of sendok.c.
This is a DOS utility program which sends a "OK" to a dialog which you don't want to see. If you want to run a script silently (e.g. Batch render) and MAX puts up a dialog you can call this utility BEFORE you issue the command in MAXSCript and the utility starts and waits for the dialog to come up and then sends a "OK" command to the dialog and you script continues to run.
example:
x = "d:\\sendok \" VRML 2.0 Exporter\" 1 15"
doscommand x
exportfile "tt.wrl" #noprompt
This script sends ID 1 = OK to a dialog with the VRML 2.0 header. If it finds no windows for 15 seconds the utility quits.
By Admin · 2007-01-17