dialogue box in draftsight

Is there any way to either switch off dialog boxes when running a script or responding to a dialogue box from within a script.

 

thanks

malcolm