app.scriptPreferences.enableRedraw = false;
For AS it's bound to be something like "set the redraw of the preferences of the script to enabled".
You can either make a document without a window
set theDoc to make new document without showing window
or turn off the redraw
set enable redraw of script preferences to false